Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyRemoteControl.GetNearestPlayer

Malware edited this page Dec 25, 2018 · 21 revisions

IndexIMyRemoteControl

csharp[bool](System.Boolean) GetNearestPlayer(ref [Vector3D](VRageMath.Vector3D) playerPosition)##### Summary

Gets the nearest player's position. Will only work if the remote control belongs to an NPC

Returns
Clone this wiki locally