-> 0AD2: 0@ = player $PLAYER_CHAR targeted_acto
-> 0AB1: @GET_BONE_POS 2 actor 0@ bone 8 XYZ: 1@ 2@ 3@ ( http://ugbase.eu/index.php?threads/snippet-getboneposition-from-actor.5405/ )
-> 0AB1: @AIM_AT_POS 4 XYZ: 1@ 2@ 3@ ADD_CAMERA_OFFSET 0.04253 ( http://ugbase.eu/index.php?threads/snippet-aim-at-position.14588/#post-85740 )
This works fine, but only on the horizontal axis, how come?
0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0
Why is it using 0xB6F248 for the vertical axis though? It doesn't seem to work properly, either that or it's misused
-> 0AB1: @GET_BONE_POS 2 actor 0@ bone 8 XYZ: 1@ 2@ 3@ ( http://ugbase.eu/index.php?threads/snippet-getboneposition-from-actor.5405/ )
-> 0AB1: @AIM_AT_POS 4 XYZ: 1@ 2@ 3@ ADD_CAMERA_OFFSET 0.04253 ( http://ugbase.eu/index.php?threads/snippet-aim-at-position.14588/#post-85740 )
This works fine, but only on the horizontal axis, how come?
0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0
Why is it using 0xB6F248 for the vertical axis though? It doesn't seem to work properly, either that or it's misused
Last edited: