EagleFour Posted May 30 Posted May 30 Hi, Does anyone know why I am not receiving position data for my ship when I trigger an event? GetPosition always returns zero. OnInit returns position data, but the events OnHit and OnCombatStateChanged do not. I need the position of my ship and the attacking ship during the OnHit event. In my latest mod, I need to determine whether an enemy ship is in front of me or behind me. The ship reference is correct, functions such as GetDistance(PlayerShip.GetShipReference()) work. How can I get the position data?
Recommended Posts