I think this has gone a bit under the hood, so I'll post here so other modders notice:
You can use a three-way variable manipulation, like this:
This adds the value of ROOT's other_var to the value of the xurrent scope's some_var. ROOT can be replaced by any valid RHS. The arguments must be in this order. It works or should work with all varible commands and conditions.
Before this was impossible without using other variables as helpers.
You can use a three-way variable manipulation, like this:
Code:
change_variable = {
which = some_var
which = other_var
which = ROOT
}
This adds the value of ROOT's other_var to the value of the xurrent scope's some_var. ROOT can be replaced by any valid RHS. The arguments must be in this order. It works or should work with all varible commands and conditions.
Before this was impossible without using other variables as helpers.
Last edited: