VisionaireObject Command: getBool

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 00:52, 4 November 2014 by David Stoffel (talk) (Text replacement - "{{toc}}" to "")
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.