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 / any way to disable a script after use?

Author
Message
evilangel
11
Years of Service
User Offline
Joined: 17th May 2013
Location:
Posted: 25th Aug 2013 18:15
I am use a trigger zone, I want that after the script is executed is disabled but not destroyed.
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 25th Aug 2013 22:06
Use the destroy command i think that should work..

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 25th Aug 2013 22:34
Yeah Tomahawk, that's what I was thinking, but he also said...
Quote: "but not destroyed"

Do you want to call upon the script again at a later time?
Little more info needed if so
best
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 26th Aug 2013 04:40
I think if he wanted to activate it at a later time he should activate a new script.

BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 26th Aug 2013 23:58
Quote: "I am use a trigger zone, I want that after the script is executed is disabled but not destroyed."


Quote: "I think if he wanted to activate it at a later time he should activate a new script."


Keep in mind any script left running will eventually drop the FPS, particularly if you have more than 5 of these "idle" scripts running. It is best to terminate the script, but before you terminate it, the script *could* activate a trigger somewhere to run that same script again.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2024-11-23 11:31:57
Your offset time is: 2024-11-23 11:31:57