[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