• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] Nullifying Booleans

Status
Not open for further replies.
Level 5
Joined
Jul 17, 2006
Messages
145
lol i knowyou cant nullify them, WE wont let you......but do they leak or do you have to destroy them?

unless thats what you ment... XD
 
Level 11
Joined
Jul 12, 2005
Messages
764
If you want to nullify them at all costs, use the custom script:

Custom Script - set udg_Boolean = false

Nullifying booleans, means setting them to false (I think), as they are set to false initially...


But I don't think this will be the problem that makes your map unplayable lol! :D
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
32kb. . . .
Each boolean uses 1 binary data to store (since a boolean is on or off (0 or 1) and a short location hedding so wc3 knows where to find it. 32KB is probably enough for 32000 boolean values to be stored.

I do not think local booleans leak since they are so simple.
 
Status
Not open for further replies.
Top