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 13, 2025 · 22 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

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

Clone this wiki locally