• 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] Jass and Leak help

Status
Not open for further replies.
Level 3
Joined
Dec 8, 2008
Messages
29
I have the following variable sets in my trigger.

  • Set RushVictim[(Player number of (Triggering player))] = (Target unit of ability being cast)
  • Set RushUnit[(Player number of (Triggering player))] = (Casting unit)
  • Set RushUnitPoint[(Player number of (Triggering player))] = (Position of RushUnit[(Player number of (Triggering player))])
  • Set RushUnitLocation[(Player number of (Triggering player))] = (Region centered at RushUnitPoint[(Player number of (Triggering player))] with size (200.00, 200.00))
They can all be removed once the full trigger set (3 total) is run, it's for an ability that is cast, but I have a question: I know the most effecient way is to remove them through a Jass custom script line. How do I designate the index value of the array being used? (each of the variables is an array)

+Rep for all help!
 
Status
Not open for further replies.
Top