Hi,
so this is my problem. I have created this if statement (just copied 1 line from it, cause you dont need more to understand it), but its not working the way I want it too. This is my current statement:
if (UnitHealth("player") == UnitHealth("player")) then
What I want to achieve is something like the statement below where it snapshots the current health and compares it to the current health.
if (UnitHealth("player") == SNAPSHOT_CURRENT_UnitHealth("player") then
Is there a simple way to do this with some variables? Or does anyone have a smart solution to this problem?
Thanks in advance!