Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Local trigger with same event as parent tirgger fires instantaniously
Local trigger with same event as parent tirgger fires instantaniously
08-29-2004, 02:51 AM
#1
fugly
ok lets say a trigger that is fired by a unit using an ability creates a local a trigger and adds the event that a unit uses an ability, the local trigger will fire instantly, how can i make it not fire instantly?
08-29-2004, 12:56 PM
#2
AIAndy
It does fire instantly ? Interesting.
In that case create that local trigger in a separate function that runs on a timer of 0 seconds.
08-29-2004, 02:11 PM
#3
KaTTaNa
Or try disabling the trigger before adding the event, and then enabling it again when the event has been added.