-> Router
Navigation controllers
Last updated
Navigation controllers
Last updated
Routers are navigation controllers to move from one point of the story to a given label, by name. Its main functionality is control where the story should move to, based on player choices, variable values, and custom code.
A Router statement starts with a -> (Dash and Greater Than), immediately followed by a space.
A Router can also be concatenated to other statements and used as an instruction.
In Dialogue, Label, Command, and Other Router statements, a router instruction is executed only if the statement conditions fail.
In Option statements, a router instruction is executed when that option is selected.