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 zone>turn off light>destroy character

Author
Message
DarkAngelOblivion TM
15
Years of Service
User Offline
Joined: 7th Oct 2009
Location: Down under mate
Posted: 18th Oct 2010 11:35
hey
i have got a trigger zone to turn a light on and spawn a character, but now i need another trigger zone to turn the light off and delete the character...? any ideas people?

Thankyou

Tomorrow never comes until it is too late...
BlackFox
FPSC Master
17
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 18th Oct 2010 18:08
Script your first trigger script so when a timer reaches a specified time, the second trigger is activated. In the IfUsed, put the name of your second trigger. Ensure in the main script that you have the activateifused=1 which will activate your second trigger.

Ensure the second trigger has the appearifactivate.fpi in the start script field.

In the character script, you could edit it's main script so that after a specified time, you can have the entity destroy.

Those are just a few ideas. Your description is a bit vague to the point of: will the player interact in some way with the spawning character? Or is it just spawning and then destroying after x seconds, etc.

- BlackFox

RPG Mod- Create a world full of adventure
Seth Black
FPSC Reloaded TGC Backer
20
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 18th Oct 2010 18:13
...been accomplished many times, over the years.

Use the Thread Subject Search box, located at the bottom of the page, to easily find the answers that you seek.

DarkAngelOblivion TM
15
Years of Service
User Offline
Joined: 7th Oct 2009
Location: Down under mate
Posted: 19th Oct 2010 12:54 Edited at: 19th Oct 2010 12:55
Thanks black fox ill try that out.... and seth black im no noob haha and i did use the search box, but obviously i didnt look hard enough :/

Tomorrow never comes until it is too late...

Login to post a reply

Server time is: 2025-06-04 10:24:43
Your offset time is: 2025-06-04 10:24:43