Task (functions)/Table

From PMDOWiki
Revision as of 03:32, 18 January 2026 by Imbion (talk | contribs) (Created page with "{| class="wikitable" |- ! Function !! Description |- |StartEntityTask |Helper function to make an entity run the specified task. Will not replace a running task! |- |StopEntityTask |Helper function to force stop an entity's current task. |- |WaitStartEntityTask |Makes an entity run a specified task, and waits for it to complete before continuing. |- |WaitEntityTask |Waits for the specified entity to finish its task. |- |WaitTask |Runs a task and waits for it to comple...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Function Description
StartEntityTask Helper function to make an entity run the specified task. Will not replace a running task!
StopEntityTask Helper function to force stop an entity's current task.
WaitStartEntityTask Makes an entity run a specified task, and waits for it to complete before continuing.
WaitEntityTask Waits for the specified entity to finish its task.
WaitTask Runs a task and waits for it to complete. Most methods that do not expose themselves to script need to be wrapped with thi
StartScriptLocalCoroutine A wrapper around the StartCoroutine method of the GameManager, so lua coroutines can be executed locally to the script context.
BranchCoroutine Starts a new coroutine to run parallel to the current execution.
JoinCoroutines Waits for all specified coroutines to finish before continuing execution.