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

[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.
Top