Skip to content

mission_task_transport_cargo_observer

Source: base/tealdef/mission/tasks/transport_cargo/mission_task_transport_cargo_observer.d.tl

Notes

Task that shows the progress of several transport-cargo tasks and completes when all are done.

MissionTaskTransportCargoObserver

record global base/tealdef/mission/tasks/transport_cargo/mission_task_transport_cargo_observer.d.tl:3

global record MissionTaskTransportCargoObserver is MissionInterface.TaskScript<MissionTaskTransportCargoObserver.State, MissionTaskTransportCargoObserver.Params>

Load: local transport_cargo_observer = ug_require "::/mission/tasks/transport_cargo/transport_cargo_observer.tl"

Notes

Task (transport_cargo_observer) that shows the counters of several transport_cargo tasks as sub-tasks and completes when all of them are complete.

MissionTaskTransportCargoObserver.Params

record base/tealdef/mission/tasks/transport_cargo/mission_task_transport_cargo_observer.d.tl:4

record Params

Notes

Params of the task.

Used in the base game: 1 time in 1 file

base/content/mission/mission/tasks/transport_cargo/transport_cargo_observer.tl:3

local type P = MissionTaskTransportCargoObserver.Params

Fields

Name Type Description
tasks {string} Unique keys of the observed tasks.

MissionTaskTransportCargoObserver.State

record base/tealdef/mission/tasks/transport_cargo/mission_task_transport_cargo_observer.d.tl:7

record State

Notes

State of the task.

Used in the base game: 1 time in 1 file

base/content/mission/mission/tasks/transport_cargo/transport_cargo_observer.tl:2

local type S = MissionTaskTransportCargoObserver.State

Fields

Name Type Description
success boolean All observed tasks are complete.