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 Product Chat / Making a entity disappear when entering a trigger zone?

Author
Message
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 22nd Aug 2010 19:02
I know it's possible,so can someone please take 5 minutes and explain to me.

Thanks!

Contact me in Skype,name- nejcplan
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 22nd Aug 2010 20:14
Depends if you want it to totally disappear from the map never to be seen again, or just make it invisible to the players eye, so it can comeback later ??

Making it gone for good, is just a matter of adding "destroy" in the script regarding the entity.

Making it disappear and able to return, I would make use of it's alternate texture and use a transparent texture as it's alt tex as well as make use of the "coloff" command, so you can walk though it.

Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 22nd Aug 2010 20:39
Just destroy...

Contact me in Skype,name- nejcplan
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 22nd Aug 2010 20:55 Edited at: 22nd Aug 2010 20:57
then give the entity an AI script with "activated=1:destroy" in it and use the "plrinzoneactivateifused" script for the triggerzone and enter the name of the entity you want to destroy in it's "IfUsed" property.


AI script for entity like this


Login to post a reply

Server time is: 2026-07-21 21:13:01
Your offset time is: 2026-07-21 21:13:01