Code:
Actor.StorePos(0@, 1@, 2@, 3@)
Actor.StorePos(PLAYER_ACTOR$, 4@, 5@, 6@)
050A: 7@ = distance_between_XYZ $TEMPVAR_1@ 2@ 3@ and_XYZ 4@ 5@ 6@
0092: 8@ = float 7@ to_integer
if
8@ <= 5.0
then
SCRIPT
not working, idk why, can anyone tell me why?