Difference between revisions of "GetProperty"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 8: Line 8:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 +
Example:
 +
<syntaxhighlight>
 +
n/a
 +
</syntaxhighlight>
  
 
<b><u>Arguments</u></b>
 
<b><u>Arguments</u></b>

Revision as of 18:33, 5 March 2013

History: Available since v3.7

Return the requested property.

Syntax:

getProperty(property)

Example:

n/a

Arguments

property:
"string" - The requested property to retrieve. Currently supported properties: "platform" ("win"/"mac")
"steam_initialized" (true/false depending if the steam_api was loaded and client is connected, false if the operation failed)

Flags: none

Return: property
requested property value