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 General Discussion »Boolean?

Author Topic: Boolean? (5 messages, Page 1 of 1)
Moderators: Dennis

Officer egg
Joined: Mar 16, 2008

Dancing is forbidden.


Posted: Oct 8, 2009 09:20 PM    Msg. 1 of 5       
What exactly is a boolean?


Officer egg
Joined: Mar 16, 2008

Dancing is forbidden.


Posted: Oct 8, 2009 09:22 PM    Msg. 2 of 5       
Makes sense. Thanks.
Edited by Officer egg on Oct 8, 2009 at 09:23 PM


The Programmer
Joined: Sep 30, 2009

I HATE WHITE PEOPLE!!!


Posted: Oct 8, 2009 09:28 PM    Msg. 3 of 5       
It is used for values of true or false, using the numbers 0 & 1
1 for true, 0 for false
It can also be used for other things
Edited by The Programmer on Oct 8, 2009 at 09:29 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Oct 8, 2009 09:41 PM    Msg. 4 of 5       
Booleans, in the sense of computer science, are variables that either return true or false. I find booleans incredibly useful to work with in single player maps, as you can use it for a variety of purposes. For example, in a30, the end section had multiple areas for you to go through. They used booleans to determine whether you had been through that section or not, and whether you've saved the marines in that area.

@ L28

On and off, 1 or 0, true or false. These are all the same. A boolean contains two values, both opposites of each other. In scripting, if you set it to 1, that would be equivalent to on, or true. If you set it to false, it's equivalent to off, or 0.
Edited by Gamma927 on Oct 8, 2009 at 09:42 PM


Marka Haiyana
Joined: Mar 24, 2009

w0rt


Posted: Oct 8, 2009 09:42 PM    Msg. 5 of 5       
Boolean is also referred to as a "Bool" in some languages. It is a true or false value. Also, it may be relevant, the Boolean tool in 3DS Max can be used to cut an indention in a model or add a piece on requiring two objects to be intersecting.
Edited by Marka Haiyana on Oct 8, 2009 at 09:42 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 9:07 AM 140 ms.
A Halo Maps Website