• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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