HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger inside trigger

10-20-2006, 06:12 AM#1
Wyvernoid
Hello^^ See the code:
Collapse JASS:
globals
trigger udg_trg_trginsidetrg
.
.
.
endglobals
Collapse JASS:
set udg_trg_trginsidetrg = CreateTrigger()
call TriggerRegisterAnyUnitEvent(udg_trg_trginsidetrg, EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trg_trginsidetrg, function actions)
call TriggerSleepAction(55555.00)
call DestroyTrigger(udg_trg_trginsidetrg)
Not working, why? ~~~
10-20-2006, 06:58 AM#2
The)TideHunter(
If your getting a error, check if you have a function called "actions": function actions takes nothing returns nothing
And if u get no errors, it would be that your gonna have to wait 55555 seconds (which is 15 hours by my calculator).
10-20-2006, 07:39 AM#3
Wyvernoid
Thanks, but I do not still have mental problems ^^ I at least know that there should be a "function action" and that 55555 is just a random example. Btw this wait is not that long in fact. And btw this thing is used in a triggered spell. ;-)
10-20-2006, 08:31 AM#4
blu_da_noob
Please be more specific. No one can help you if they don't know what your problem is.