VisionaireObject Command: getBool

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 17:32, 28 September 2014 by AFRLme (talk) (Created page with "{| class="toccolours mw-collapsible mw-collapsed ts" |- ! Function History |- | Available since v3.0 |} Returns the boolean value of a linked condition. A boolean value is e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.