Sandbox.ModAPI.Ingame.IMyRemoteControl.GetNearestPlayer - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexIMyRemoteControl

Summary

public bool GetNearestPlayer(out Vector3D playerPosition)

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

Returns

bool

True if was able to get player position

Parameters

⚠️ **GitHub.com Fallback** ⚠️