I have an NPC who, upon gaining the status 'Burning', will proceed to run around in a 'circle' between three point triggers. I used the Story Editor, rather than the .charScript. The code I mashed together in the KB section is:

Code
IF
CharacterStatusChange(CHARACTER_EFS_GaolGuard,"Burning")
THEN
CharacterMoveToTrigger(CHARACTER_EFS_GaolGuard,TRIGGER_Burn1,1,"onfire1");

IF
CharacterEvent(CHARACTER_EFS_GaolGuard,"onfire1")
THEN
CharacterMoveToTrigger(CHARACTER_EFS_GaolGuard,TRIGGER_Burn2,1,"onfire2");

IF
CharacterEvent(CHARACTER_EFS_GaolGuard,"onfire2")
THEN
CharacterMoveToTrigger(CHARACTER_EFS_GaolGuard,TRIGGER_Burn3,1,"onfire3");

IF
CharacterEvent(CHARACTER_EFS_GaolGuard,"onfire3")
THEN
CharacterMoveToTrigger(CHARACTER_EFS_GaolGuard,TRIGGER_Burn1,1,"onfire1");


I don't know if you could use something similar to set up your patrol route.

Last edited by Noaloha; 01/08/14 10:19 AM.

Escape From Smalcatraz: Steam/Nexus. Forum thread.