• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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.
Top