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

[JASS] Custom Script Error?

Status
Not open for further replies.
Level 9
Joined
Jan 17, 2009
Messages
372
Hi, i recently made some custom script for animation and leak removal and they aren't working, i dont know JASS so please help me.

  • Custom script: call SetUnitAnimationByIndex(udg_Attack_Unit[udg_Attack_Index[2]]), GetRandomInt(5, 6))
It says "Expected end of line"
  • Custom script: call RemoveRect(udg_Attack_Region[udg_Attack_Integer[3]])
It says "Expected a name"
  • Custom script: call DestroyGroup(udg_Attack_UnitGroup[udg_Attack_Integer[3]])
It says "Expected a name"
 
Status
Not open for further replies.
Top