DCode

Covers Engine 2.0.0

wait until

Cooperatively wait for a condition. Timeline waits do not block the mission clock or other buckets, and timeout time excludes holds.

Syntax

wait until <condition> [timeout <duration>]

Available in

  • Executable DCode bodies

Native C++

Unavailable in Native C++; select Lua for managed wait statements.

Example

wait until |complete| == 1 timeout 30s