--[[ LUA Script converted from FPSC to GameGuru by M.Fowler (c) 2017 Original FPI file can be found under: C:\Program Files (x86)\The Game Creators\FPS Creator\Files\scriptbank\people\follow.fpi ]] --[[ desc = Follow Waypoints ]] state = {} ; function follow_init(e) state[e] = 0 ; end function follow_main(e) if state[e] ~=nil then if WAYPOINTSTATE == 0 then SetAnimation(2) PlayAnimation(e) --WAYPOINTSTART end if WAYPOINTSTATE == 3 then SetAnimation(2) PlayAnimation(e) --WAYPOINTNEXT end if WAYPOINTSTATE == 4 then SetAnimation(2) PlayAnimation(e) --WAYPOINTRANDOM end if WAYPOINTSTATE == 5 then SetAnimation(2) PlayAnimation(e) --WAYPOINTREVERSE end --PromptLocal (e,'state=' .. state[e] ) end end function follow_exit(e) end --*** UNCONVERTED FPSC CONDITION KEYWORDS *** function WAYPOINTSTATE(e) end --*** END OF UNCONVERTED FPSC CONDITION KEYWORDS *** --*** UNCONVERTED FPSC ACTION KEYWORDS *** function WAYPOINTSTART(e) end function WAYPOINTNEXT(e) end function WAYPOINTRANDOM(e) end function WAYPOINTREVERSE(e) end --*** END OF UNCONVERTED FPSC ACTION KEYWORDS ***