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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
changelog [2019/02/24 21:40]
xikage [Bugs/Other]
changelog [2019/03/22 06:58] (current)
xikage [NEW: SetVariable]
Line 54: Line 54:
   Skills:   Skills:
   - setGameMode{mode=ADVENTURE} @trigger ~onInteract   - setGameMode{mode=ADVENTURE} @trigger ~onInteract
 +====NEW: SetVariable====
 +Sets a [[:​skills:​variables|variable]] on the specified scope.
 +  Skills:
 +  - setvariable{var=global.testVar;​value="​hello";​type=STRING} ~onInteract
 +  - setvariable{var=caster.testVar;​value="​hello";​type=STRING} @self ~onInteract
 +Scope can be set by prefixing **scope.name** to the variable, or by using the **scope=[scope]** option.
 ====NEW: Shield==== ====NEW: Shield====
changelog.1551062423.txt.gz · Last modified: 2019/02/24 21:40 by xikage
GNU Free Documentation License 1.3
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0