Get RAPTOR

Graphs

Each logic object has a graph made of chains of nodes. A When node starts a chain, and the nodes wired after it run in order.

Opening a graph

Open a graph in any of these ways:

  • Double the logic object.
  • → Open logic in the Inspector.
  • it in the Hierarchy and choose Open logic.
  • Select it while Follow is on in the drawer.

The graph opens in the Logic drawer.

The drawer

The drawer holds the palette, the canvas, Scene objects and Details. The breadcrumb shows the open model and object.

ButtonAction
BackOpens the graph you had open before
ForwardOpens the next graph
FollowOpens the graph of the selected object
AddAdds a Brain, Volume, Marker, Screen, Buttons and switches or Moving part
Problems badgeOpens the problem list
MoreOpens a menu with Frame all and Check for problems

Adding nodes

Nodes come from the palette or from Quick Add.

GestureAction
a palette rowAdds the node
a palette rowPlaces the node where you drop it
Tab, or the canvasOpens Quick Add to search for a node
a wire to empty canvasOpens Quick Add with matching nodes and wires the new node
a logic object onto the canvasAdds an object node

Search also matches goals. For example, killbox suggests a Volume with When a player enters and Kill the player.

Node shapes

A node's shape shows what kind of node it is.

TermMeaning
Starts a chainAn event: a When node
Does somethingAn action
Gives a valueA number, text, object or player
Asks yes or noA question
Controls the orderFlow, such as If or Repeat

Nodes that can kill a player show .

Wires

Wires join nodes. There are two kinds.

TermMeaning
Action wireCarries the chain: what runs next
Value wireCarries a value into a node's input
GestureAction
from pin to pinWires them. Dropping on a node's body uses its first matching pin
Ctrl from a pinMoves its wires
Alt a wireDeletes the wire
Double a wire Adds a knot to route the wire

Select an action wire to set its Delay, and whether it Fires Every time, Once or A number of times.

The canvas

The canvas holds the graph's nodes, wires and comments.

GestureAction
, Space or AltPans
Zooms
on empty canvasBox-selects. Shift adds, Ctrl removes
HotkeyAction
FFrames the selection
Home Frames everything
C Adds a comment around the selection
CtrlFFinds a node in this graph
CtrlASelects every node
CtrlC Copies
CtrlX Cuts
CtrlV Pastes
CtrlD Duplicates
Del Deletes
Nudges the selection

a node for Fire now (in Play), Open its logic (object nodes), Copy, Cut, Duplicate, Comment around, Delete and Help.

Details

Select a node to edit its inputs in Details and pick the variable, timer, message or object it uses. Wired inputs show wired in.

A waiting node, such as Wait or Every, has When it runs again while busy:

OptionEffect
Each on its ownStarts another run alongside the first
Start againStops the current run and starts again
Ignore while busySkips the new run
Wait in lineRuns after the current one ends

Checking for problems

→ More → Check for problems in the drawer. Or the Problems badge.

Each entry is a Problem, Warning or Hint, often with a button that fixes it, such as Add Health or Clear it.

Common problems:

MessageFix
This When does nothing yetWire a node under it
This step never runsWire something into it
A node needs a capability the object lacksPress its Add button, such as Add Health
Outside Gameplay, so it won't be savedPress Move under Gameplay

Blueprints

A blueprint is a saved graph and its capabilities, reusable on other objects. Manage blueprints from the Blueprint rows in the Inspector.

StateMeaning
One-offNot from a blueprint
LinkedFollows its blueprint
ModifiedChanged from its blueprint
Blueprint missingIts blueprint was deleted
CommandAction
Save as blueprintSaves a one-off as a new blueprint
Save newSaves a linked copy as a new blueprint and links to it
ReapplyReplaces this copy with the blueprint's version
PushSaves this copy's changes into the blueprint
DetachMakes this copy a one-off
LinkLinks a one-off to a blueprint

Saved blueprints are listed under Blueprints in the palette.