Elaborate.
what? you don't need this at alljust give the tree 40 health and make it decrease when they click it or whatever.
0, 0| onActivate | Self | VCE_ifVariable | hp == 0, 1 30, 1| onVariableTrue | Self | VCE_modVariable | hp == 400, 2| onVariableTrue | Player | VCE_modVariable | stuff + 10, 3| onVariableFalse | Self | VCE_modVariable | hp - 1
Theres a problem here.
[quote/] On Activate QuoteTheres a problem here.how did this happen?
Well, I know a way to do this but its complex and I would have to do it multiple times for each resource
He wants the variable to be modified as soon as the bricks are loaded I presume.
[X] 0 [0] onActivate -> Self -> VCE_ifVariable -> [Health] == [ ] [1 1][X] 1 [0] onVariableTrue -> Self -> VCE_modVariable -> [Health] set [40]