//********************************************************************************* fsm playeraifsm : integer; //------------------------------------------------------------------ // // Constant Definitions // //------------------------------------------------------------------ const #include_ //------------------------------------------------------------------ // // Type Definitions // //------------------------------------------------------------------ type #include_ //------------------------------------------------------------------ // // Variable Declarations // //------------------------------------------------------------------ var //------------------------------------------------------------------ // // Local Functions // //------------------------------------------------------------------ function init; code endfunction; //------------------------------------------------------------------ // // Main Code // //------------------------------------------------------------------ state startState; code /* if (not IsWithin(me,PlayerSpawn,10)) then OrderMovetoObject(ena_nav_center,10); else ClearMoveOrder; endif; */ endstate; state deadState; code endstate; endfsm. //******************************************************************