User Tools

Site Tools


4rpl:commands:getunitconnectedtoriftlab

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.txt · Last modified: 2022/01/29 15:10 by Karsten75