User Tools

Site Tools


script_syntax

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
script_syntax [2017/10/13 11:22] justinscript_syntax [2017/10/13 11:22] justin
Line 25: Line 25:
 **Examples:** **Examples:**
 <code lua> <code lua>
-if global.property["gems_collected"] > 5 then+if global.property["gem_count"] > 5 then
    display_message("You've collected more than 5 gems!")    display_message("You've collected more than 5 gems!")
 end end
script_syntax.txt · Last modified: 2023/11/06 14:13 by justin