Skip to main content

FB2Action_WalkToRoom

Overview

  • Action that moves to a target room (RoomPurpose). Similar to WalkToSite but moves to a specific room location inside the site rather than the site entrance. Automatically finds elevator-routed paths through the PathFind system.

Metadata

FieldValue
Kindaction
EnvironmentB2 - Simulation
Categoryactions
ExtendsFB2Action_WalkTo
Requirerequire('Actions.B2Action_WalkToRoom')

Functions (4)

FunctionParametersReturnsDescription
OnCanceled--Callback invoked on Canceled.
OnFinish--Callback invoked on Finish.
OnPaused--Callback invoked on Paused.
OnTickDeltaTime: number, CurrentTime: FDateTime, GameDeltaMinutes: number-Callback invoked on Tick.

Override points (4)

Implement these in Lua as FB2Action_WalkToRoom.Override_Name = function(...) end.

FunctionParametersReturnsDescription
Override_OnCanceled--Timing hook called when the action is canceled.
Override_OnFinish--Timing hook called when the action finishes.
Override_OnPaused--Timing hook called when the action is paused.
Override_OnTickDeltaTime: number, CurrentTime: FDateTime, GameDeltaMinutes: number-Timing hook called every tick while the action runs. (performance-sensitive)