Hi!
Is there an action to restore the default Initial Variables of a Sprite ?
Like the action "reset global variables", but just for a Sprite 's instance variable.
Thanks
if you remember initial default values you can directly set current value to initial values, otherwise you can do this "indirectly", make a copy of original values of instance variables and when you want to reset them, set current values to original "copy" values
Example:
"HP" = 500 (original value) -> "HPcopy" = 500 ( the copy)
current HP is 700 and you want to reset initial value
at your condition -> set "HP" to 500 (directly)
otherwise,
at your condition -> set "HP" to "HPcopy" (indirectly)