A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »If Boolean = true

Author Topic: If Boolean = true (5 messages, Page 1 of 1)
Moderators: Dennis

Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: May 21, 2012 03:59 AM    Msg. 1 of 5       
I have tried using the following commands but they are incorrect:

(if (= (global boolean airstrike true) 1) (wake airstrike1))

(if (= (airstrike) 1) (wake airstrike1))


What is the correct command?



Edited by Muscl3r on May 21, 2012 at 03:59 AM


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: May 21, 2012 07:08 AM    Msg. 2 of 5       
I think this is it.
(if (= (airstrike) 1))
(wake airstrike1)


Also, there must be a
(global boolean airstrike false)

written ABOVE this script


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: May 21, 2012 03:35 PM    Msg. 3 of 5       
That is one of the commands I have tried but you have different parenthesis and those commands don't work like that i'm pretty sure. And yes, I have that global boolean command at the top of the script


MatthewDratt
Joined: Sep 11, 2010

TAKEDOWN IS OUT MattDratt.com


Posted: May 22, 2012 11:00 AM    Msg. 4 of 5       
I haven't done Booleans in a while but here is my best shot.

You could try this
(sleep_until (and airstrike (wake airstrike1))

But searching through A30's scripts here is how to do it with two booleans
(if (and global_river_end global_rubble_end )(wake mission_extraction_cliff ))

I'd assume if you can't get it to work with only one then just add in a random boolean set to true


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: May 23, 2012 03:14 AM    Msg. 5 of 5       
After trying a crap load of different commands I finally found the one that works:

(if (= airstrike true)(wake airstrike1))

Thanks for your helP guys

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 12:37 AM 125 ms.
A Halo Maps Website