Skip to main content

B2Action_WalkToTransportation

  • Description
    * ===============
    * Walks the character to the nearest transportation facility as the departure act of a city transfer, asks the city
    * move manager at the door whether to go in (the player confirms a schedule transfer there), then enters and
    * reports the result to the manager, which runs the transfer on the next frame.
    * ===============
    * Param:
    * S1: -
    * S2: -
    * F1: -
    * F2: -
    * Note:
    * Derives from WalkTo rather than WalkToSubway on purpose: that one forwards the base failure reason even
    * after it resolved a facility, and caches the registry entry by raw pointer, which dangles across a city
    * change, and it sends the exit node to the world origin - the camera follows the possessed Zoi there, so the
    * warp is plainly visible. Here the exit node sits on the enter node so the warp moves nobody, and the action
    * cuts itself off the moment the enter animation ends, before the exit animation would play.
    * The action asks at the door: when the walk arrives (the finish is held until the entry is allowed), or just
    * before the portal node if the path follower would start the portal warp first. The warp is never started
    * directly: the portal handler picks the enter animation from the current path node, so a warp started any other
    * way plays nothing and never ends.
    * The walker is despawned only when the manager accepts the completion - despawning on a rejected report
    * would leave the Zoi invisible with no transfer to bring it back.
PropertyTypeDescriptionMetadata
EntryPhaseEB2TransportationEntryPhaseSaved - a reload mid-act resumes from the same step (an awaiting act asks again, since the popup is not saved).
DepartureQueueIdint64Interaction queue this action belongs to, captured while it is the playing one. The manager matches on it
so a completion from some other interaction of the same Zoi cannot trigger the transfer.
Saved - a reload restores this action mid-walk without calling SetParams again, and an unsaved id would
make the manager reject the completion as belonging to some other interaction.
FromFVectorPath start location, set in SetFromLocation()
ToFVectorPath destination location, set in FindTargetLocation()/SetParams() and refined as the path is resolved
bUseSprintboolWhether to sprint for this walk, set from the Sprint(S2) marker or by subclasses
bWaitRequestPathResultboolWhether an async path-find request is currently pending
bWaitRetryPathResultboolWhether a retried path result is pending after PathFollower requested a retry
WalkToStateEB2WalkToStateCurrent stage of the path-following/motion-warping/turn-anim state machine
MoveOverFB2MoveOverMove-over helper tracking overlap-avoidance movement toward the target/destination
OffsetDistancefloatDistance to stop short of the target along the path, set from Action.F1 (or DistFromFire for burning targets)
bStopBeforeSwimmingPoolNodeboolWhether to truncate the path before entering a swimming pool node
bIsScheduleWalkToboolWhether this is a schedule-driven walk pending a randomized SLOD teleport trigger time
bHasSwimmingPoolNodeboolWhether the resolved path passes through a swimming pool enter/exit node
ScheduleWalkToTeleportTriggerTimeFDateTimeGame time at which a schedule walk becomes eligible for SLOD teleport, randomized in OnInit
bIsSiteTargetWalkToboolWhether this walk targets a site (user-requested site move); affects path query params and finish handling
bIngoreTrafficSignalboolWhether the path follower should ignore traffic signals
bIsCommuteActionboolWhether this is a commute-style walk, cached in OnInit and used by OnPlay's SLOD teleport decision; serialized to persist the decision across save/load
bWasEverVisibleSlod0boolWhether this WalkToSpawner crowd walker has ever been SLOD0-visible, gating SLOD1 hold-teleport for previously-seen despawning crowds; serialized to persist across save/load
bTriedClearSituationalOutfitboolWhether the situational outfit clear has already run for this walk; serialized so that a save/load during path-wait does not run it twice
ActionIdFNameIdentifier of this action instance (used for interaction tracking and mission time accounting)
StateEB2ActionStateCurrent lifecycle state of this action
MergeTypeEB2ActionMergeTypeMerge type flags for this action (e.g. interaction merge, checked in Finish())
ResultEB2InteractionResultResult of this action once it stops playing (Finish/Failed/Canceled)
SelfEntityIdFB1EntityIdEntity id performing this action
TargetEntityIdFB1EntityIdEntity id targeted by this action
GrabEntityIdFB1EntityIdEntity id grabbed/carried by self entity for this action
NonTargetLocationFVectorLocation used for script/condition context when there is no target entity
ActionFB1ActionInfoAction table data (S1/S2/F1/F2, script id lists, etc.) driving this instance
TickCalcValuefloatAccumulated tick delta time since this action started ticking
CurrentNotifyIndexint32Index into Action.NotifyScriptIds for the next notify script to run
AsyncLoadAnimInfoTArrayAnimations to async-load for this action's start/notify/tick/finish/cancel scripts
AddActionTimeIntervalfloatInterval in seconds between OnTickAddActionExecuteTime() calls
AccumAddActionTimefloatElapsed time accumulator compared against AddActionTimeInterval
StartActionTickTimeint64Tick timestamp used to measure elapsed action execution time for mission tracking
ActionKeyFB2ActionKeyKey identifying this action's slot/queue within the interaction system
TimeTaskIdFB1TimeTaskIdId of the scheduled time task used for delayed Determine/Finish
IsForceCancelableboolWhether this action is force-cancelable, copied from Action.IsForceCancelable
IsFirstActionboolMarks the first action in an interaction sequence; set on actions[0] by FB2InteractionPlayer::LinkActions(), read by FB2ActionPlayer
bMultiFlagboolSet by looping actions (PlayAnim, BookRead, Eat, WaitTalkSequence) once a loop iteration completes; read/reset by FB2ActionPlayer to gate multi-interaction selection
TalkInstanceIdFB1TalkInstanceIdId of the talk instance this action is linked to, set externally by FB2InteractionPlayer::LinkActions()
TalkSubjectEntityIdFB1EntityIdEntity id of the talk subject linked to this action, set externally by FB2InteractionPlayer::LinkActions()/OnTalkSpaceParamChanged()
bIsWaitFinishEventboolCached copy of Action.IsWaitFinishAction taken at Init(); read directly by FB2ActionPlayer for sequencing (the IsWaitFinishAction() getter instead reads Action.IsWaitFinishAction live)
AutoInsertTypeEB2ActionAutoInsertTypeType of action that was auto-inserted before this one (e.g. WalkTo, ChangePosture)