Hai, I'm working on a hero picking system, but I've come across a problem; whenever I try to call a function between 2 triggers, it gives me a "Expected Function Name" error :banghead:
I put the function "StartPick" in a trigger above the Start Pick trigger:
And when I try to call the StartPick function, it gives me errors
Thanks in advance!
I put the function "StartPick" in a trigger above the Start Pick trigger:
JASS:
And when I try to call the StartPick function, it gives me errors
JASS:
function Trig_Start_Pick_Actions takes nothing returns nothing
call StartPick()
endfunction
function InitTrig_Start_Pick takes nothing returns nothing
set gg_trg_Start_Pick = CreateTrigger( )
call TriggerAddAction( gg_trg_Start_Pick, function Trig_Start_Pick_Actions )
endfunction
Thanks in advance!