Hello,
my Problem is the following
i read the x y z and rotation stuff from memory
then i calculate the distance and the needed rotation
then i write the rotation (to the target) into the memory
Code:
_SetRotation($Handle,$pBase, $RotNeeded)
Func _SetRotation ($Handle,$pBase, $RotNeeded)
_BMWriteMemory($Handle, $pBase + $UnitRotation, $RotNeeded, "float")
EndFunc
$UnitRotation = 0x7A8
pBase is the player base and bla
now the bot looks at the target all the time and tries to walk there but he doesn't .. the bot just look at it and runs in the former direction
i tried to stop the walking process before the _setRotation
but this didn't helped
is there maybe a little thing that i miss ?!
thanks for reading
sincery spud