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 / is there a command were if one object is destroyed one is activated?

Author
Message
Hexy123
15
Years of Service
User Offline
Joined: 14th Jul 2009
Location: Melbourne
Posted: 21st Dec 2009 05:47
the title pretty much says what I am asking
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st Dec 2009 06:05
When entities are destroyed, their "Destroy AI" script is then run (once) before they are completely gone. They will always be active until the "destroy" command is run.

So, in your entity's Destroy AI, simply have it "activateifused" or "activatetarget" for the entity you want to activate.


The one and only,


Hexy123
15
Years of Service
User Offline
Joined: 14th Jul 2009
Location: Melbourne
Posted: 21st Dec 2009 06:17
Thank you very much Plystire.

Login to post a reply

Server time is: 2025-05-26 03:47:03
Your offset time is: 2025-05-26 03:47:03