User Tools

Site Tools


set_global_property

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
set_global_property [2020/04/27 14:33] justinset_global_property [2020/04/27 14:37] justin
Line 2: Line 2:
 ---- ----
  
-Sets a custom [[global_properties|global property]] to the specified value. This property can then be referenced elsewhere, for example when evaluating a condition. When editing this function in the [[Script Editor]], the [[Variable Expression Builder]] provides an easy way to choose which value you'd like to assign to the property. These properties can also be given values via the "Assign Value" visual [[script]] node or [[script_syntax|assignment statements]], or even pre-defined with initial startup values from the [[Global Properties]] tab in your [[Game Configuration]].+Sets a custom [[global_properties|global property]] to the specified value. This property can then be referenced elsewhere, for example when evaluating a condition. When editing this function in the [[Script Editor]], the [[Variable Expression Builder]] provides an easy way to choose which value you'd like to assign to the property. These properties can also be given values via [[script_syntax|assignment statements]] (i.e. the "Assign Value" visual [[script]] nodeor even pre-defined with initial startup values from the [[Global Properties]] tab in your [[Game Configuration]].
  
 ====Signature:==== ====Signature:====
Line 24: Line 24:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Global Property** function to store and keep track of game-level information such as the current chapter/act of the story, the player's score, or custom statistics.+Use the **Set Global Property** function to store and keep track of game-level information such as the current chapter/act of the story, the player's score, or other custom statistics.
 </WRAP> </WRAP>
  
set_global_property.txt · Last modified: 2021/04/21 18:51 by justin