Difference between revisions of "GetProperty"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<b>History</b>: Available since <span style="color:green">v3.7</span> Return the requested property. Syntax: <syntaxhighlight> getProperty(property) </syntaxhighlight> <b>...")
 
Line 12: Line 12:
  
 
property: <br/>
 
property: <br/>
"string" - The requested property to retrieve. Currently supported properties: "platform" ("win"/"mac"), <br/>
+
"string" - The requested property to retrieve. Currently supported properties: "platform" ("win"/"mac") <br/>
"steam_initialized" (true/false depending if the steam_api was loaded and client is connected, false if the operation failed).
+
"steam_initialized" (true/false depending if the steam_api was loaded and client is connected, false if the operation failed)
  
 
Flags: none
 
Flags: none

Revision as of 17:32, 5 March 2013

History: Available since v3.7

Return the requested property.

Syntax:

getProperty(property)


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