Syntax erorr bug "function InitTrig_takes"

Status
Not open for further replies.
Level 4
Joined
Feb 12, 2007
Messages
99
Hello, I just got an annoying problem :

JASS:
function InitTrig_takes nothing returns nothing
set gg_trg_=CreateTrigger()
call TriggerAddAction(gg_trg_,function Trig__Actions)
endfunction

that line bug :

JASS:
function InitTrig_takes nothing returns nothing
It returns : Expected: "takes"

I think that this function is in the map itself and not in the trigger editor so I can't fix it... any idea ?
 
Status
Not open for further replies.
Back
Top