API ReferenceGE Extensionsflowgraphnodesui
Tasklist Message (Flowgraph Node)
- **Node Name:** `Tasklist Message`
Overview
- Node Name:
Tasklist Message - Category:
once_instant - File:
extensions/flowgraph/nodes/ui/tasklistMessage.lua
Shows a goal entry in the Goal List (tasklist) app. Each goal has a label, optional subtext, an identifier for uniqueness, and active/clear states.
Pin Schema
Input Pins
| Pin | Type | Default | Hidden | Description |
|---|---|---|---|---|
label | any | - | no | Goal label text. Bug: cannot start directly with a number |
sub | any | - | yes | Subtext for the goal (only works with tasklist app) |
identifier | string | "flowgraph" | no | Unique ID - only one goal per identifier can be displayed |
clear | bool | true | yes | Enable to clear the goal |
active | bool | true | yes | Whether the goal is active |
Output Pins
| Pin | Type | Description |
|---|---|---|
flow | flow | Passes through input flow |
How It Works
workOnce()- Triggersguihooks.trigger('SetTasklistTask', data)with:clear- whether to clear this goal entrylabel- the goal display textsubtext- optional secondary textactive- whether the goal is currently activeid- unique identifier (defaults to"__" .. self.idif not set)type- always"message"
Lua Code Example
-- Add a goal to the tasklist:
guihooks.trigger('SetTasklistTask', {
clear = false,
label = "Reach the checkpoint",
subtext = "Drive to the marked location",
active = true,
id = "myGoal_01",
type = "message",
})
-- Clear a specific goal:
guihooks.trigger('SetTasklistTask', {
clear = true,
id = "myGoal_01",
type = "message",
})Key Dependencies
guihooks.trigger('SetTasklistTask', data)- Adds/updates/clears a goal in the tasklist UI
Previously Undocumented (Added by Audit)
- Input Pin:
done(any) - Input Pin:
fail(any)
See Also
- Medal / Auto Medal (Flowgraph Node) - Related reference
- Clear Messages (Flowgraph Node) - Related reference
- Context Translation (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide