Jump to content

Home

Script help


Blaster

Recommended Posts

NPC runs to NAVGOAL and stops:

 

//Generated by BehavEd

rem ( "comment" );

affect ( "NPC_Targetname", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_RUNNING", /*@BOOL_TYPES*/ "true" );

task ( "go1" )
{
	set ( /*@SET_TYPES*/ "SET_NAVGOAL", "NAVGOAL_targetname" );
}

dowait ( "go1" );
set ( /*@SET_TYPES*/ "SET_RUNNING", /*@BOOL_TYPES*/ "false" );
}

 

This should be triggered by target_scriptrunner because it "affects" an NPC. If you wanna make it a spawnscript, you should remove "AFFECT" line.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...