ajom
Well-known member
Hello, I am trying to get the xyz position of the Gun Muzzle(where the bullet is coming from) of a certain actor. But it seems that I can't find any sources around the internet that fixes this problem, I will appreciate if anybody know a memory pointer, snippet, script demo that gets the XYZ Position of the Gun's Tip, it does not matter if it is a "world XYZ coordinate" or an "actor relative offset". Maybe something like:
I tried reading the weapon.dat inside the memory:
Code:
0AB1: @GetGunMuzzleCoord 1 _ofactor 0@ _returnXYZCoord 29@ 30@ 31@
I tried reading the weapon.dat inside the memory:
The value never changes.
- + 0x24 = [dword] fireOffset.x
- + 0x28 = [dword] fireOffset.y
- + 0x2C = [dword] fireOffset.z