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 / Trigger a waypoint

Author
Message
General powell11
17
Years of Service
User Offline
Joined: 7th Jul 2007
Location:
Posted: 17th Apr 2009 04:00
Im horrible at scripting, is there some sort of script out there tor that someone can make that when the player walks into the trigger zone, the entity starts falling that waypoint?

Taking song requests, see my post!!!
JRH
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 17th Apr 2009 12:55 Edited at: 17th Apr 2009 12:57
I can think of two ways to do this.
1) Spawn the entity in location, when the player is in the trigger zone.
There is already a script that you can use that comes with FPSC. In the Main Script choice for the trigger zone, set it to plrinszoneactivateused.fpi (or something like that). Then, set the name of the entity in the if used box of the trigger zone.

Then, the last step is to edit the entity 'Spawn at Start" field to No.

2) Using a script
When the player is in the trigger zone, the entity becomes active, much like a remote door.

Script for trigger zone: plrinzoneactivateused.fpi (comes packaged with FPSC)


Script for the entity:
You'll have to some work by yourself, or post the main script for the entity and get someone to edit it for you. Anyway heres the state script you must put at the start of the main script.


It might look something like this.
Based on the default FPSC follow.fpi



Hope that helped,
JRH

General powell11
17
Years of Service
User Offline
Joined: 7th Jul 2007
Location:
Posted: 18th Apr 2009 03:29
hmm,thanks ill try that

Taking song requests, see my post!!!

Login to post a reply

Server time is: 2024-11-24 23:34:52
Your offset time is: 2024-11-24 23:34:52