Page 1 of 1

Enabling/disabling effects

Posted: Thu Jun 07, 2012 4:32 am
by Alter-Fox
I posted this ages ago (at least a year ago) but I never got a satisfactory answer, instead the topic ended up being a discussion of the merits of setting the mine on fire after you kill the reactor.
So I'm asking the question again. I know it's possible to point enable/disable triggers to effects objects -- and I've seen it done in levels like Dimensional Intersect. But how do you do it? I've tried the most obvious (to me) solution of selecting the object before I make the trigger and just leaving the trigger targets blank -- tried it multiple times, but that didn't work. Is it done some other way? Or am I actually doing it the right way and just keep running into bugs? There's no option for entering objects into a trigger's target field that I can see, and looking at levels where it's been done hasn't helped me at all -- with all the enourmous pseudo-scripted trigger network looking for one function when you don't even know what it looks like in the editor is like chasing your tail.

All the information about it I've ever seen -- here on the forum and also in the DLE documentation -- is that it's possible. Never any explanation of how to do it. I really, really want to do it because of how it would let me change the atmosphere "on the fly" instead of just setting the static atmosphere when I make the level. The potential for sequences like the mine self-destruction is enourmous.

AARGH so frustrated :jumps out the window:.

Re: Enabling/disabling effects

Posted: Thu Jun 07, 2012 6:30 am
by Pumo
In fact it's pretty easy to make this.

Go to your current triggers properties (the trigger that will enable or disable a desired effect) in the trigger tab, and set it to be 'enable' or 'disable' type on the 'Descent 2 Types' list.
Now with the right mouse button, select the effect object (the one you want to be enabled/disabled) while you're still at the trigger tab.

Lastly, without doing anything else, in the 'trigger targets' section from your trigger's properties, click the 'add object' button.

And that's all.
The current selected effect object number (the one you selected with right mouse button) will be reflected on the 'segment, side' list of the trigger's targets. :)

Re: Enabling/disabling effects

Posted: Thu Jun 07, 2012 9:29 am
by karx11erx
Pumo knows more about DLE than I do! I implement such things, but when I don't use them (anymore), I forget them after a year or two and have to look them up in the code ...

Re: Enabling/disabling effects

Posted: Thu Jun 07, 2012 12:40 pm
by Alter-Fox
Thanks Pumo.