Client
Network existing is a module that gives you the ability to await for an entity to exist physically and networked.
lib.awaitNetworkExisting
lib.awaitNetworkExisting(netId, entity, timeout)Parameters
- netId
number(optional): The network id of the entity. - entity
number(optional): The entity to await. - timeout
number(optional): The timeout in milliseconds to wait for the entity to exist.
Returns
- entityNetId
number: The network id of the entity. - entityClientHandle
number|false: The client handle of the entity.
Callouts
- Please be aware that at least you need to pass an entity or a net id