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 it possible to spawn one entity from another when it is destroyed? ie. Health from Crate?

Author
Message
Ri99ers
18
Years of Service
User Offline
Joined: 8th May 2006
Location: UK
Posted: 12th May 2006 01:02
Title says it all really.
I just wondered if it was possible? I'm not too hot with scripts yet.
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 12th May 2006 02:25
Should be possible without any new scripts made. Place the health inside the crate(assuming it is a non-movable crate) and set it's spawnatstart to no. Then set the crate's destroy script to destroyandactivate.fpi and set it's IfUsed field to the name of the health entity. That should work.

Tom

Ri99ers
18
Years of Service
User Offline
Joined: 8th May 2006
Location: UK
Posted: 12th May 2006 21:19
Thanks for that Tom, it's appreciated
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 7th Jun 2006 04:19
um, guys, you just have to place the health thing under the box

Login to post a reply

Server time is: 2024-11-22 08:10:13
Your offset time is: 2024-11-22 08:10:13