Page 1 of 1

Variable Value Problem

PostPosted: Mon May 13, 2019 9:14 pm
by Lazzah
Hi all, can one of the ADRIFT boffins please help me?

I want to increase the value of a variable by the value of another, which is a variable number itself. How can I do this?

Any help much appreciated.

Re: Variable Value Problem

PostPosted: Mon May 13, 2019 9:35 pm
by DazaKiwi
Two methods;

Increase Variable A by %VariableB%

or

Set Variable A to %VariableA% + %VariableB%

Same goes for increasing property values for objects or characters;

Set PropertyA to %Player%.PropertyA + %Number%

Re: Variable Value Problem

PostPosted: Mon May 13, 2019 9:48 pm
by Lazzah
Thanks Daza, that worked a treat!