function Trig_NewTrigger_Actions takes nothing returns nothing local integer i set i = 0 loop exitwhen i==3 call DisplayTextToForce( GetPlayersAll(), "test x3") set i = i+1 endloop endfunction
function InitTrig_NewTrigger TriggerAddCondition(gg_trg_NewTrigger TriggerAddAction(gg_trg_NewTrigger
Correct?
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!" "I'm sorry I doubted your great wisdom Patrick!"
But functions can have any name, and can be called under the InitTrig right? So if I were to make a new trigger, and just call the cond/act function, it would work.. right? Or are function names specified to a certin trigger and that trigger only.. ahhh -.-
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!" "I'm sorry I doubted your great wisdom Patrick!"
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!" "I'm sorry I doubted your great wisdom Patrick!"
the InitTrig Action runs at Initalization of the map and so it wouldn't work if you only write this. There should be "call TriggerAddAction(<yourTrigger>, <yourFunction>)"
What's the script for a weather effect variable? (I mean a local too)
Edit: I still would like to know the local name above, but for now I just declared it in globals.. -.-
I'm having trouble with this trigger, the world editor is telling me that this line is an 'invalid argument type (unitevent)'
Last edited by namespoofer on June 14th, 2007, 5:15 pm, edited 1 time in total.
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!" "I'm sorry I doubted your great wisdom Patrick!"
Edit: Still doesn't work! -.- I tried deleteing other spaces.. but I thought spaces didn't matter?
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!" "I'm sorry I doubted your great wisdom Patrick!"