FB2Action_WalkToSharedSiteSpawner
Overview
- WalkToSharedSiteSpawner action. Override the OnPlay/OnFinish/OnPaused/OnCanceled/OnTick timing hooks in Lua.
Metadata
| Field | Value |
|---|
| Kind | action |
| Environment | B2 - Simulation |
| Category | actions |
| Extends | FB2Action_WalkTo |
| Require | require('Actions.B2Action_WalkToSharedSiteSpawner') |
Properties (2)
| Name | Type | Description |
|---|
DestSpawnerLocation | FVector | Resolved teleport destination at the linked school site's walk-to point |
bTeleportMode | boolean | If F2 > 0, teleports to the destination site's SharedSiteSpawner location after arrival. |
Functions (5)
| Function | Parameters | Returns | Description |
|---|
OnCanceled | - | - | Callback invoked on Canceled. |
OnFinish | - | - | Callback invoked on Finish. |
OnPaused | - | - | Callback invoked on Paused. |
OnTick | DeltaTime: number, CurrentTime: FDateTime, GameDeltaMinutes: number | - | Callback invoked on Tick. |
SetParams | - | EB1InteractionCancelReason | Sets Params. |
Override points (4)
Implement these in Lua as FB2Action_WalkToSharedSiteSpawner.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|
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_OnTick | DeltaTime: number, CurrentTime: FDateTime, GameDeltaMinutes: number | - | Timing hook called every tick while the action runs. (performance-sensitive) |