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

Sandbox.ModAPI.Ingame.IMyRemoteControl.GetNearestPlayer

Morten Aune Lyrstad edited this page Jun 28, 2020 · 22 revisions

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

Parameters

Clone this wiki locally