• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Expected a code statement

Status
Not open for further replies.
Level 7
Joined
Jun 14, 2009
Messages
235
can some one please help me? i was testing a spell, when the trigger just stoped working compleatly, it says "Line 254: Expected a code statement." and "Line 255: Expected a code statement." the codes are "local unit ugd_target" and "local unit_Caster",

target and Caster are the names of my variable units and was working before, but now gives me the error, any one know why?
 
Level 7
Joined
Jun 14, 2009
Messages
235
im a little confused on what you mean. Shoul i use "local unit u_target"? or just "local unit u"? i need 2 local units.
 
Status
Not open for further replies.
Top