- Joined
- Jul 6, 2009
- Messages
- 1,885
JASS:
function Dagger_Loop takes nothing returns nothing
call BJDebugMsg("lol")
endfunction
function Dagger_Loop_Init takes nothing returns nothing
ForGroup(udg_Daggers,function Dagger_Loop)
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterTimerEvent(gg_trg_Untitled_Trigger_001,0.03,true)
call TriggerAddAction(gg_trg_Untitled_Trigger_001, function Dagger_Loop_Init)
endfunction
Why is this code giving me errors? It says that there's syntax error at 'ForGroup' function and i see nothing wrong. This was actually a part of another trigger,but it doesn't seem to work even alone.