I can't even get this simple function to work. I've taken it from a Intro to JASS. I just want the the message to appear.
Nothing happens when I run the test on the map. Is there a certain way you have to put it in, do I erase something. How does the message appear?
JASS:
function Trig_Melee_Initialization_Actions takes nothing returns nothing
call MeleeStartingVisibility( )
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call MeleeStartingResources( )
call MeleeClearExcessUnits( )
call MeleeStartingUnits( )
call MeleeStartingAI( )
call MeleeInitVictoryDefeat( )
endfunction
//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
set gg_trg_Melee_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction
function HelloWorld takes nothing returns nothing
call BJDebugMsg("Hi, my name is Bob.")
call BJDebugMsg("I am 2 years old!")
//And so on, by the way you can add comments to your code like this
//Basically if you have '//' somewhere on a line, the rest of the line (after the '//') counts as a comment
endfunction
Nothing happens when I run the test on the map. Is there a certain way you have to put it in, do I erase something. How does the message appear?