HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

trigger turn off?

11-28-2003, 04:51 AM#1
hamuhamu
hi.

everytime i use trigger- turn off, it doesnt work. it seems that the problem is because of the trigger- run trigger (ignoring conditions). i made some test triggers and excluded trigger - run trigger (ignoring conditions) and it worked.

for example:

trigger1
event - unit enters region
condition - region = X region
action - turn off - trigger 2

trigger2
event - X unit dies
condition - none
action - (actions in here)
- run trigger (ignoring conditions)

this is just an example.

is it because of run trigger (ignoring conditions)?

please help

NOTE: just started having this problem when i used trigger - run trigger
11-28-2003, 04:58 AM#2
FerretDruid
Could you be a bit (a LOT) more specific? I've never once had a problem with those actions, so they must be easy. So whatever you are doing must be way off...

In all fairness... What, exactly, isn't working? Could you post the real triggers? Those examples mean nothing when I don't know what units/events are setting them off.

Turning off trigger 2 will make it completely disabled, unless you have a seperate trigger saying turn on (or run) trigger 2.
11-28-2003, 05:00 AM#3
hamuhamu
i added some stuff to the last post
11-28-2003, 05:05 AM#4
Hunter0000
Run trigger will run a trigger that has been turned off.

Turn off is used to prevent the events of that trigger from triggering it.
11-28-2003, 05:10 AM#5
hamuhamu
is there away to get rid of a single action?

thanks so much guys.
11-28-2003, 02:51 PM#6
Vexorian
Add this actions to the top of the trigger:

If ((boolean comparision - ((this trigger) is on) equal to false ) then (skip remaining actions)
11-28-2003, 03:23 PM#7
Ligature
Or just add the "this trigger is on is equal to true" condition to the trigger's conditions, and change your "run trigger" action to "run trigger, checking conditions"