Hey
its possible to get the Airdrop position if the plane spawnes?
I know this works:
but i need the position if the cargoplane spawn.Code:if (entity is SupplyDrop) { entity.transform.position }
Any ideas?
CargoPlane plane get drop position
Discussion in 'Rust Development' started by Sir BenSon, Nov 19, 2016.
-
Wulf Community Admin
Take a look at my Inbound plugin.
-
Yes i did but it shows the position only if the supplydrop spawned. I need the position if the cargo plane spawnes not the supply. I think the cartgoplane knows where to drop or?
i need the distance between airdrop pos and the cargoplane pos in realtime. -
Code:void OnAirdrop(CargoPlane plane, Vector3 location) { Debug.Log(plane.transform.position); Debug.Log(location); }
-