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 revisionBoth sides next revision
set_global_property [2017/09/18 08:29] justinset_global_property [2018/03/15 16:17] justin
Line 18: Line 18:
 ====Example:==== ====Example:====
 <code lua> <code lua>
-set_global_property("key_cntr", global.property["keys_cntr"] + 1)+set_global_property("keys", global.property["keys"] + 1)
 </code> </code>
-//Results:// The global property "key_cntr" (a counter being used to track the number of keys collected) is incremented by one.+//Results:// The global property "keys" (a counter being used to track the number of keys collected) is incremented by one.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
set_global_property.txt · Last modified: 2021/04/21 18:51 by justin