Need help with script

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Need help with script

Post by sg.Pepper »

I need write script for two bombs. In map are 6 bombs.
Aliies win, if 2 bombs (prisonbomb and sgbomb) exploded. Not only one of both.
in script i have:
while ($prisonbomb.exploded != 1 & $sgbomb.exploded != 1)
teamwin allies
But allies win even if one of them not exploded.
How can i do it?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Use && instead of &
Image
Post Reply