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 / [LOCKED] helps with waypoint

Author
Message
Claudio Pr0gr4mm3r
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location:
Posted: 17th Dec 2006 12:19
how to do an enemy to walk until the end of the waypoint and to stop? can anybody help please? Thank you

knowledge, spread this virus.
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 17th Dec 2006 19:17
Sorry to but in slightly Claudio, but also, how to you delete (get rid of) an enemy when it's reach the end of it's way point?


xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 17th Dec 2006 19:31 Edited at: 17th Dec 2006 19:33
This is covered in the manual.

Quote: "WAYPOINTSTATE=X is true when the waypoint state value equals X

State 0 means the entity has not yet started following waypoints
State 1 means the entity is looking for the nearest waypoint marker to start from
State 2 means the entity is following a waypoint line to its current waypoint marker
State 3 means the entity has reached the waypoint marker and needs to decide what to do
State 4 means the entity has reached the waypoint marker and it splits off in more than one other direction
State 5 means the entity has reached the very end of the current waypoint structure and requires a decision to be made
"


Look at state 5.

The simple way would be to:
:waypointstate=5:none
or any action other than returning to another waypoint state.

To delete the character at the end of the waypoint:
:waypointstate=5:destroy
Practice, practice, practice. The best way to learn is to experiment.

Best.

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

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 17th Dec 2006 19:52
Thanks. Some of us just need a push in the right direction


Claudio Pr0gr4mm3r
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location:
Posted: 19th Dec 2006 13:40
Thank you friend! it was that that I wanted. Grateful

knowledge, spread this virus.

Login to post a reply

Server time is: 2024-11-23 07:43:31
Your offset time is: 2024-11-23 07:43:31