User Tools

Site Tools


4rpl:commands:getunitconnectedtoriftlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getunitconnectedtoriftlab [2022/01/28 20:43] – [Description] Vertu4rpl:commands:getunitconnectedtoriftlab [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== Description ===== ===== Description =====
 Returns a boolean indicating if the unit is connected (via the network) to the RiftLab. Returns a boolean indicating if the unit is connected (via the network) to the RiftLab.
-This is only calculated after the first UpdateCountSo putting this call in :Gameload,:Once, and :Awake (before the GamesUpdateCount is greater than 0will always return false as the game updates the connection network after the first UpdateCount.+ 
 +Connections are calculated at the end of the frame update cycleAttempting 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 ===== ===== Examples =====
4rpl/commands/getunitconnectedtoriftlab.1643402588.txt.gz · Last modified: 2025/02/14 14:56 (external edit)