# # Standing in front of the kitchen # state Start { Conditions { } Actions { NoAttack NoPush CollidePriority GoToNode "PevStart" SnapToPosition "x 0.600" "y -1.743" "z 7.5" "roty 180" "false" SetState "Think" } } state GoToDoor { Conditions { } Actions { # GoToNode "KitchenDoorA" } } state SetAtDoor { Conditions { } Actions { SnapToPosition "x 0.060" "y -1.743" "z 12.91" "roty 0" "false" } } #--------------------------------------------- # Controls the character #--------------------------------------------- state Think { Conditions { if Timer > 15.0 goto Beckon } Actions { ResetTimer SnapToPosition "x 0.600" "y -1.743" "z 7.5" "roty 180" "false" } } #--------------------------------------------- # Beckons the player #--------------------------------------------- state Beckon { Conditions { } Actions { SnapToPosition "x 0.600" "y -1.743" "z 7.5" "roty 180" "false" SetActionValue "value 1" "waitcontextfree" WaitActionFinished SetState "Think" } }