Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Script error or bug?

Author
Message
myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 17th Jul 2007 21:39
I have coded a civilian man to follow the waypoints, he follows, but
infront of a door he stucks ( I have made that door auto) and after some one second delay, he moves to the next waypoint, but not animated. Then he walks normally.
Is there anyway to bypass this,i.e., to walk that guy through a door without any problem.
My code:
---------------------------------
;Artificial Intelligence Script

;Header

desc = Follow Waypoints

;Triggers
:state=0:timerstart,state=1
:state=1,timergreater=5000,waypointstate=0:animate=2,waypointstart
:state=1,waypointstate=3:animate=2,waypointnext
:state=1,waypointstate=4:animate=2,waypointrandom
:state=1,waypointstate=5:animate=2,waypointstop

;End of Script
----------------------------------

drakul

Login to post a reply

Server time is: 2024-11-23 21:02:19
Your offset time is: 2024-11-23 21:02:19