Library›Orders
Walk to
fn/game.WalkTo
Sends somebody to a place along the paths and waits until they are there or the seconds are up, then lets them go back to their own day. Arrived tells which.
- Does
- An action: done when the run reaches it
- Runs
- On every machine
- Listed under
- Library › Orders
- In a file
fn/game.WalkTo
Pins
- inwhoa character
The person.
- inata position
The place.
- inrunyes or no
Yes to run.
Starts as
false - insecondsa number
How long, in seconds of game time.
Starts as
30 - outarrivedyes or no
Yes when they got there in time.
How it is made
Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is orders.graph.json.
Built from
- Walk to
call/Character.ScriptMoveToSends somebody walking to a place along the paths. - While
flow/WhileDoes Body again and again while the condition holds, then Done. - Is near
fn/game.IsNearWhether a person or thing is within so many metres of a place. - Not
math/NotNo for yes, yes for no. - Less
math/LessWhether A is less than B. - And
math/AndYes when all of them are. - Wait
flow/WaitWaits so many seconds of game time before going on. - Let go
call/Character.ReleaseScriptControlGives an NPC back its own day after a graph walked it.
Modding