From wiki.ginstr.com
Jump to: navigation, search
Line 20: Line 20:
 
| [[target]] where the value will be stored
 
| [[target]] where the value will be stored
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
** any [[:Category:variables|variable]]
+
** any [[:Category:Variables|variable]]
 
|-
 
|-
 
| [[source]]
 
| [[source]]

Revision as of 13:09, 31 March 2017

gn:act_setVariable

Description
Action used to load value from target and stores it to variable.
Action returns
void

Action signatures

Load value to variable

[gn:act_setVariable]|[target,source]
Parameter Description
target target where the value will be stored
source source from where the value will be used

Example

@variable/admin - variable
true - hardcoded value

[gn:act_setVariable]|[@variable/admin,true]