Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyRemoteControl.GetNearestPlayer

Malware edited this page Dec 25, 2018 · 22 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