• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] exitwhen Custom Script won't work!

Status
Not open for further replies.
Level 18
Joined
Aug 23, 2008
Messages
2,319
I've been struggling with this single Custom Script that I got a while ago, since I don't know any JASS. The Script is:
  • Custom script: exitwhen udg_BirdBombardBird[udg_BirdBombardPlayer[bj_forLoopAIndex]] == null
Which should mean that it ends when BirdBombardBird[BirdBombardPlayer[Integer A]] is equal to no unit.
  • BirdBombardBird is an arrayed unit variable
  • BirdBombardPlayer is an arrayed Integer variable

Does anybody have any idea of what I'm doing wrong? Everything works properly until that single line.
 
Status
Not open for further replies.
Back
Top