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 / Can I destroy a TriggerZone with another trigger?

Author
Message
Belacios
13
Years of Service
User Offline
Joined: 11th Nov 2012
Location: Otherworld
Posted: 16th Apr 2013 19:55
I know, it's a newbie question, I'm sorry... i've searched it in the forums but any of the answers actually helped me.

I just want that:
There's this triggerzone that will activate a posteffect and right in front of it there's a trigger with another posteffect. But I don't that the previous one to be activated again, so I need a way to destroy it.

Thanks for the attention.

http://www.indiedb.com/games/sem-sada-no-way-out
Tomahawk
13
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 16th Apr 2013 21:48
That would be done with scripts and the destroy and activate script. i will try and post a script soon

Ross tra damus
3D Media Maker
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 17th Apr 2013 00:18
check out the scripts and 'Info' file in the download at this link which I think may help you:
http://forum.thegamecreators.com/?m=forum_view&t=200589&b=23

Credit to 'BlackFox' for info on using the 'destroy' action with trigger zones within this link.

Hope it helps
Belacios
13
Years of Service
User Offline
Joined: 11th Nov 2012
Location: Otherworld
Posted: 20th Apr 2013 17:49
Well, sorry.
But it didn't help.

http://www.indiedb.com/games/sem-sada-no-way-out
Wolf
18
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 20th Apr 2013 18:59
Here is what you do:

You create a tranparent object and deactivate its collision.

Now you write some "plrdistwithin" script for this object that activates the effect and destroys itself right away.

That way you dont have to mess around with the triggerzones at all.



-Wolf

http://www.serygalacaffeine.com
Without struggle,no progress and no result.Every breaking of habit produces a change in the machine.
TodeGamer
13
Years of Service
User Offline
Joined: 11th Sep 2012
Location: Bangkok,Thailand
Posted: 28th May 2013 15:38
Add activate=1:destroy to the triggerzone that you want to destroy.

I love to make games

http://www.youtube.com/user/thespicy847

Login to post a reply

Server time is: 2026-06-13 14:24:03
Your offset time is: 2026-06-13 14:24:03