As the title says. More specifically, I'm trying to use the 'Subtract from' tool to subtract a predetermined value that's taken from an instance variable owned by a specific UID.
I'm trying to come up with the basic structure of a turn-based combat system. Through the use of family, instance variables and an index array I've managed to be able to pick up the current sprite's (enemy) UID. But is it possible to fetch its instance variable value (damage) as the subtraction number?
Something tells me that it should be feasible within the Value input of the mentioned tool but I'm having difficulties on grasping how to write something past single values gathered from the 'Find expressions' list.
In my mind: Subtract the value taken from the named instance variable of picked instance UID.
Also, if there's any handy guide that I can take part of on how to understand and combine lines within the value input that is used within several tools that would also be really appreciated.