GetBool (CMS)

From The Official Visionaire Studio: Adventure Game Engine Wiki
Function History
Available since v3.0


Returns the boolean value of a linked condition. A boolean value is either true or false.


Syntax:

getBool(t_bool)


Example: using getBool to return the boolean value of a condition

getObject("Conditions[door_open]"):getBool(VConditionValue) --  return boolean value of condition "door_open"


Arguments

none


Flags

none


Return

t_bool
Returns true or false.