Page 1 of 1

Problem with bomb

Posted: Sun Feb 08, 2004 6:33 am
by sg.Pepper
I have 4 bombs in map and 4. bomb does not work.
Concole say: Script error
while ($doorabomb.exploded != 1)
CANNOT CAST 'ARRAY' TO LISTENER
Can I have 4 or more bombs in bot maps?

Posted: Sun Feb 08, 2004 7:15 am
by jv_map
Yes but you shouldn't give 2 of them the same targetname :wink:

Or, if you desperately want them to have the same targetname, you could do:

Code: Select all

while ($doorabomb[1].exploded != 1)
  waitframe

while ($doorabomb[2].exploded != 1)
  waitframe

Posted: Sun Feb 08, 2004 11:13 am
by sg.Pepper
Thanks
already it works.
error was in script:
4 bombs in map
targets to destroy = 3 :lol: