Hey,
I must be looking at how the structure works wrong.
Code:
ConsoleWrite ("Target: " & _WoWGetName($hProcess, $CurObject) & @CRLF & "HP: " & _WoWGetKnownField($hProcess, $CurObject, $UNIT_FIELD_HEALTH, "int") & "Max HP: " & _WoWGetKnownField($hProcess, $CurObject, $UNIT_FIELD_MAXHEALTH, "int") & @CRLF)
MsgBox (32, "test", _WoWGetKnownField($hProcess, $CurObject, 0x798, "float"))
The output shows as
Code:
Target: Justine Demalier
HP: 5568 Max HP: 5568
But the messagebox will never return the x value, only 0.