mission_task_send_command¶
Source: base/tealdef/mission/tasks/utility/mission_task_send_command.d.tl
Notes
Task that sends an engine command.
MissionTaskSendCommand¶
record global base/tealdef/mission/tasks/utility/mission_task_send_command.d.tl:3
global record MissionTaskSendCommand is MissionInterface.TaskScript<MissionTaskSendCommand.State, MissionTaskSendCommand.Params>
Load: local send_command = ug_require "::/mission/tasks/utility/send_command.tl"
Notes
Task (send_command) that sends the command returned by getCommand and completes when it succeeded (or when no command is returned).
MissionTaskSendCommand.Params¶
record base/tealdef/mission/tasks/utility/mission_task_send_command.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/utility/send_command.tl:2
Functions
getCommand() : Command<ICommandData> base/tealdef/mission/tasks/utility/mission_task_send_command.d.tl:5
Notes
Builds the command to send.
Returns Command<ICommandData>: Command, or nil to complete without sending.
MissionTaskSendCommand.State¶
record base/tealdef/mission/tasks/utility/mission_task_send_command.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/utility/send_command.tl:1
Fields
| Name | Type | Description |
|---|---|---|
success |
boolean |
The command succeeded. |