Aero wrote:
gg_trg_triggername and InitTrig_triggername() are completely different from the trigger itself.
When you create a trigger, you're really creating a "trigger variable" which must be declared as a trigger in globals (ie: trigger gg_trg_triggername=null)
InitTrig_triggername() is under function main which loads up all the map info and the trigger must be "Initialized"
Only need to worry about gg_trg_triggername and InitTrig_triggername() if you're editing the .j script directly
I know but at first i was learning to edit jass from convert GUI to text, then i use that text to put in jass.
But bcoz of when i already done GUI trigger and convert into text it doesnt show the declare part to me.. so i have to make it maslef, and i just worry that i could make mistake.
_________________
The tallest tower.. begins from the ground
Today, you are novice..
Tomorrow, you might be The Master..
And when you are..
Vosszaa will hunt you down..