Difference between revisions of "GetProperty"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
<b>History</b>: Available since <span style="color:green">v3.7</span>
+
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
 +
<b>Command History</b>
 +
<div class="mw-collapsible-content">
 +
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 +
</div></div>
 +
 
  
 
Return the requested property.
 
Return the requested property.
 +
  
 
Syntax:
 
Syntax:
Line 7: Line 13:
 
getProperty(property)
 
getProperty(property)
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
Example:
 
Example:
Line 12: Line 19:
 
n/a
 
n/a
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
  
 
<b><u>Arguments</u></b>
 
<b><u>Arguments</u></b>

Revision as of 19:22, 7 March 2013

Command 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