Syntax
queue_on_teleport(source: string)Aliases
queueonteleportqueue_on_tpqueueontpArguments
| Name | Type | Description |
|---|---|---|
source | string | Source string to queue for a later teleport initialization. |
Description
Queues a source string to run after a later teleport initialization. The function returns no values.
Call it with 1 parameter(s): source. The argument table explains which values are required and which ones only refine the behavior.
It does not return data. Treat the call as an action and handle errors around the call site when needed.
Example
Store a source string so it can run during a later teleport initialization.
queue_on_teleport("print('queued after teleport')")