View Full Version : Invert Booleans

07 July 2011, 10:36 PM

Sorry if I ask a very simple thing but I couldnt find anything on the net or in the MaxScript Reference.

Is there an easy way of inverting a boolean value? something like

bool = true
bool = !bool --evaluates to bool = false

07 July 2011, 10:42 PM
Nevermind, found it, was just overreading it. It's the "not"

CGTalk Moderation
07 July 2011, 10:42 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.