User Tools

Site Tools


4rpl:commands:getunitconnectedtoriftlab

This is an old revision of the document!


Index

GetUnitConnectedToRiftLab

GetUnitConnectedToRiftLab(<-unit)

Description

Returns a boolean indicating if the unit is connected (via the network) to the RiftLab.

Connections are calculated at the end of the frame update cycle. Attempting to determine a connection before the game has had a chance to calculate connectivity may return false prematurely. This is especially relevant for built-in functions that may execute early (Eg. :GameLoaded, :Once, and :Awake).

Examples

trace(GetUnitConnectedToRiftLab(self))

Index

4rpl/commands/getunitconnectedtoriftlab.1643487015.txt.gz · Last modified: 2025/02/14 14:56 (external edit)