- Joined
- Sep 3, 2009
- Messages
- 458
So I made a global integer array called ATTACK_ANIM[15] then set values in the different arrays respectively but for some reason I get errors, mainly:
*syntax error
*3 lines of undefined type ATTACK_ANIM
dunno what I'm doing wrong.
here's the code
can anyone help me out?
EDIT: The undeclared part should be undefined
*syntax error
*3 lines of undefined type ATTACK_ANIM
dunno what I'm doing wrong.
here's the code
JASS:
globals
constant integer ATTACK_BUFF_ID = 'B001'
constant integer ATTACK_DUMMY_ID = 'u003'
constant integer ATTACK_DUMMY_ABILITY_ID = 'A006'
constant string ATTACK_BUFF_ORDER = "bloodlust"
constant string ATTACK_ORDER_ID = "holdposition"
integer array ATTACK_ANIM[15]
set ATTACK_ANIM[1] = 4
set ATTACK_ANIM[2] = 5
set ATTACK_ANIM[3] = 2
endglobals
can anyone help me out?
EDIT: The undeclared part should be undefined