- Joined
- Mar 27, 2011
- Messages
- 293
Good Morning, afternoon or evening to you!
I'm studying JASS, and realize it's semlhante C + + (when it comes to functions, such as the function int main ()), wanted (if you can) to help me take some questions (me Corrigan if I'm wrong):
> I really need this function when I write a program in JASS?
> Sometimes, when I use the command line:
My World Edit warns me that there are errors in the function. What did I do wrong?
I'm studying JASS, and realize it's semlhante C + + (when it comes to functions, such as the function int main ()), wanted (if you can) to help me take some questions (me Corrigan if I'm wrong):
> I really need this function when I write a program in JASS?
JASS:
function Trig_Trigger_Actions takes nothing returns nothing
endfunction
> Sometimes, when I use the command line:
- Custom script: call Hi()
JASS:
function Hi takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_009" )
endunction
//===========================================================================
function InitTrig_Trigger takes nothing returns nothing
set gg_trg_Trigger = CreateTrigger( )
call TriggerAddAction( gg_trg_Trigger, function Trig_Trigger_Actions )
endfunction
My World Edit warns me that there are errors in the function. What did I do wrong?
Last edited: