Activity Attempt Stars Node
Adds star unlock flags to an attempt data object. User adds custom boolean pins named after star keys. Category: `once_instant`.
Adds star unlock flags to an attempt data object. User adds custom boolean pins named after star keys. Category: once_instant.
Pins
Inputs
| Name | Type | Fixed | Description |
|---|---|---|---|
flow | flow | yes | Execution trigger (implicit) |
attempt | table (attemptData) | yes | Attempt data to modify |
| (custom) | bool | no | Star key pins - name = star key, value = unlocked |
Outputs
| Name | Type | Fixed | Description |
|---|---|---|---|
attempt | table (attemptData) | yes | Modified attempt with unlockedStars |
Behavior
C:workOnce(): Iterates non-fixed custom input pins, setsattempt.unlockedStars[pinName] = pinValueallowCustomInPins = true,savePins = true- Only allows
booltype manual pins (allowedManualPinTypes) - Passes through attempt with stars added
Usage Example
-- Add custom pins matching star keys from mission definition:
-- Pin "star_gold" (bool) ← connected to gold threshold check
-- Pin "star_nocrash" (bool) ← connected to damage check
-- Result:
attempt.unlockedStars = {
star_gold = true,
star_nocrash = false,
}Additional Exports
-
color-any- (see source) -
description-string- (see source) -
category-string- (see source) -
pinSchema-table- (see source) -
tags-table- (see source)
See Also
- Activity Attempt Node - Related reference
- Activity Flow Node - Related reference
- Activity Hook Trigger Node - Related reference
- FlowGraph Guide - Guide
Aggregate Attempt Node
Aggregates a mission attempt into persistent progress data, producing change objects for UI display including leaderboard updates, star unlocks, and outro text. Category: `once_p_duration`.
Activity Attempt Vehicle Node
Adds vehicle information to an attempt data object. Records model, config, and origin (career inventory or setup module). Category: `once_instant`.