How to detect Incoming & Nearby Missiles?
-
Hi guys, I am looking for a function/method that helps to detect all incoming/nearby missiles towards players/group members, and also get coordinates of those missiles.
-
In SHVDN you can use World.GetNearbyProjectiles
Projectile[] projectiles = World.GetNearbyProjectiles(Game.Player.Character.Position, 50f); //50 meters around player foreach (var projectile in projectiles) { Vector3 position = projectile.Position; //do what you want with the coordinates }