User Tools

Site Tools


set_global_property

This is an old revision of the document!


Set Global Property


Sets a custom global property to the specified value. This property can then be referenced elsewhere, for example when evaluating a condition.

set_global_property(property_name, property_value)
ArgumentDescriptionTypeRequired
property_nameName of the property.StringYes
property_valueValue that will be assigned to the property.String, Decimal, BooleanYes

For storing properties specific to a tile, object, or character, see Set Entity Property.

Example:

set_global_property("prop_name", "prop_value")

Results:

Use the Set Global Property function to store and keep track of game-level information such as the current chapter/act of the story or the player's score.


Editor Node:

Visual Demo:

set_global_property.1494802545.txt.gz · Last modified: 2017/05/14 15:55 by justin