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 / Waypoints help...

Author
Message
Man Hunter
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location: Pakistan
Posted: 11th Mar 2007 23:03
Hey there... I have been working on my game and found a problem, in my level ! stand on an entity(A crate or something flat enough)which moves from waypoint to waypoint, now this has been successful. But i need it to stop for about x seconds at the end of the waypoint and then start moving again, now what it does is kepp moving and not stop just like the way the waypoints have been configured. Can anybody help me. And I did not use any script to make this happen, just changed some settings like in the entity properties:
Start:appearnogravity.fpi
main:follow.fpi
No physics

No give, no take
Man Hunter
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location: Pakistan
Posted: 13th Mar 2007 10:40
PLease help. I am really stuck in this one. I see 11 views but no replies. Atleast tell me something.

No give, no take
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 15th Mar 2007 03:18
You need to add timer commands in between the waypointstates.

Man Hunter
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location: Pakistan
Posted: 16th Mar 2007 12:24
can you tell me hot to? Please
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 16th Mar 2007 16:17 Edited at: 16th Mar 2007 16:18
If your using follow.fpi, make the following changes:
Quote: "
;Artificial Intelligence Script

;Header

desc = Follow Waypoints

;Triggers

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

;End of Script
"


If you use follownorotate.fpi, just make the same changes. Change the value of timergreater= to change the delay.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Login to post a reply

Server time is: 2024-11-27 05:11:50
Your offset time is: 2024-11-27 05:11:50