Hi! It's me, my mod and my ******* scripts.
I want to make npc follow me.
So I've write a script: set ( /*@SET_TYPES*/ "SET_LEADER", "jaden" );
And I've add key to info_player_start: targetname jaden
When I run a game, level loads, error window shows "Couldn't find spawn point". Also, when I set targetname to npc, npc doesn't spawns...
Can anyone help me? [COLOR=Navy]PLEASE![/COLOR]
Well, maybe this means that the info_player_start is made into a different entity through this?
I have tried making that entity trigger something, but it just doesn't work. You need to make the info_player_start trigger something indirectly, rather then directly. So maybe is you took away the targetname and replaced it with player?
Hey, but there is no trigger on my map (except door, platform triggers). And I din't change classname with targetname... This targetname (with script that affects this name) just "erases" enity.
If I disable the script (delete from pk3), info_player_start works...
Have you tried script_targetname instead of targetname?
As new key? Like classname or spawnscript?
key: script_targetname value: jaden
Use instead of targetname on the info_player_start.
I was wondering, if this is single player wouldn't set ("SET_BEHAVIOR_STATE", "BS_FOLLOW_LEADER" ); make it follow the player?
I'm just compiling...