Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Expected a Name
Expected a Name
12-26-2006, 06:00 PM
#1
Odin845
Why does this line get an error expected a name?
Trigger:
For each (Integer A) from 1 to 4, do (Custom script: call DestroyGroup( udg_Damage_Group[Integer A] ))
I am not very familiar with JASS, just trying to get rid of some leaks.
12-26-2006, 06:06 PM
#2
wyrmlord
Integer A should be replaced with: bj_forLoopAIndex
12-26-2006, 06:22 PM
#3
Odin845
OIh, okay, thanks very much.