- Joined
- Nov 7, 2006
- Messages
- 36
Im trying to learn JASS, but its not going very well, heres my problem:
Whenever im going from a GUI trigger to a JASS code-trigger (function, whatever) this text apear in the script box:
If i copy a scrpit from a tutorial into the box, the trigger becomes unenabled when I test the map. WE says that "InitTrig_Untitled_Trigger_002" must be included. none of the tutorials says anything about this. Please help me because i realy want to learn JASS.
Thanks for your time!
Whenever im going from a GUI trigger to a JASS code-trigger (function, whatever) this text apear in the script box:
JASS:
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction
If i copy a scrpit from a tutorial into the box, the trigger becomes unenabled when I test the map. WE says that "InitTrig_Untitled_Trigger_002" must be included. none of the tutorials says anything about this. Please help me because i realy want to learn JASS.
Thanks for your time!
Last edited by a moderator: