~~NOTOC~~ <=[[4rpl:start| 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. [[func_Gameloaded|:GameLoaded]], [[func_once|:Once]], and [[func_awake|:Awake]]). ===== Examples ===== trace(GetUnitConnectedToRiftLab(self)) <=[[4rpl:start| Index]]