From wiki.ginstr.com
Revision as of 15:47, 15 September 2020 by Bojan (talk | contribs) (Reset all except specific variables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_resetVariables

Description
Action used to reset memory value holders for variables to defaultValue values.
Action returns
void|boolean

Action signatures

Reset variables

[gn:act_resetVariables]|[target{n}]
Parameter Description
target{n} target where the value will be reset

Example

@variable/assetItem_assignment,@variable/assetItem_nameTemp - variable
[gn:act_resetVariables]|[@variable/assetItem_assignment,@variable/assetItem_nameTemp]

Reset all except specific variables

[gn:act_resetVariables]|[keyword;target{n}]
Parameter Description
keyword exclude value which if present, it will retain values of mentioned variables in action and reset all others
target{n} target where the value will be reset

Example

@variable/assetItem_assignment,@variable/assetItem_nameTemp - variable

[gn:act_resetVariables]|[exclude;@variable/assetItem_assignment,@variable/assetItem_nameTemp]