Warcraft III resources & community, 2003–2006 · archived

call DestroyTrigger(GetTriggeringTrigger())

3 posts
#1

call DestroyTrigger(GetTriggeringTrigger())

Allright, this destroys the trigger.
But how to make it so it destroyers another trigger, is this possible?
Would be thankfull for an answer,
Fl4meS
#2
call DestroyTrigger( gg_trg_Lol )

would destroy a trigger called Lol that was defined as one of your triggers, not as a global or local trigger initialized inside the actions of another trigger.

call DestroyTrigger( t )

would destroy local trigger t

and

call DestroyTrigger( udg_myTrigger )

would destroy a trigger made from a global variable named myTrigger.
#3
Omg lol, thanks.
And I was searching very far from that direction 8)