Conditions and Values

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 14:53, 26 August 2013 by AFRLme (talk) (Created page with "<strong>Conditions & Values</strong> are a fundamental necessity when it comes to game development, as they are used to control what events have taken place or have yet to tak...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Conditions & Values are a fundamental necessity when it comes to game development, as they are used to control what events have taken place or have yet to take place; from actions, dialog choices, to puzzles & so forth.

Conditions: only have two options of a Boolean nature, which are: true or false. Conditions are the simplest form of determining if an event has already been performed or is still waiting to be performed. They can also be used in if queries to determine if some other necessary event has been performed before some other event can be performed; such as the character has not yet located an object or flipped a switch etc...

Conditions also serve as another purpose for Visionaire Studio itself, as we can link conditions directly to objects, interface buttons & dialog choices via their properties tab which determines if the aforementioned thing is active or inactive. If the object, button or dialog choice is inactive then it will be hidden & none of the assigned action parts listed for the object will be available until the object is activated.