Skip to reading
Action Lists & Events

32. Connect other designers to the same logic

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

Several designers can start a script or action route without creating a new shared subscription name. Reuse the same puzzle operation so keyboard, parser and mouse input do not grow separate versions of the game rules.

Source table from 32. Connect other designers to the same logic, page 37
SourceUseful connection
Text Parser custom commandMatches configured command text and runs its selected script. Context includes source="text-parser", command, cleanedCommand and customCommand.
Normal parser verb/targetCan route into the same world/inventory interaction logic as the point-and-click interface.
KeybindingsManual bindings dispatch their chosen command. Use the available command route and verify it in play; a held movement key is not a new OnFrame action-list subscription.
Character On Control hookRuns when that character becomes controlled, alongside the shared control notification.
Inventory On Found hookA dedicated item script hook in the active-item acquisition route. It has a different payload from the shared inventory event.
Quest completion actionsRun for the completed quest with questId context.
FMV markers / hotspotsCan run their configured action work with FMV timing context.

For example, let Use Door call open_door. If a parser command or custom GUI button also needs to open that door, call the same script with the appropriate target context. Keep the key check and successful room change inside that shared operation.

Do not invent a shared event name just because a designer has a callback. The shared subscription reference lists the names actually exposed by this build.

Page 37 of 189Permalink
Go to page