Skip to main content

FB2Ship

Overview

  • No description available.

Metadata

FieldValue
Kindstruct
EnvironmentB2 - Simulation
Categorystructs
ExtendsFB2Vehicle
Requirerequire('Objects.B2Ship')

Properties (2)

NameTypeDescription
DistFromDriverSqrnumber
RelativeDisembarkLocationsFVector[]

Functions (13)

FunctionParametersReturnsDescription
CanAddInteractionWhenPicked-booleanReturns whether it can Add Interaction When Picked.
CanAutonomyInEntityId: FB1EntityIdbooleanReturns whether it can Autonomy.
ForcedPassengersExit--
GetIsAnchorDown-booleanReturns Is Anchor Down.
GetOutAllPassengersForShipwreckInDisasterId: string-Returns Out All Passengers For Shipwreck.
GetVehicleType-EB1VehicleTypeReturns Vehicle Type.
IsDocked-booleanReturns whether Docked.
OnSpawnedChildObjectInChildObject: FB2GameObject-Callback invoked on Spawned Child Object.
ProcessRidingEntityDeathInRidingEntityId: FB1EntityId-
SetDockedInDocked: boolean-Sets Docked.
SetIsAnchorDownInIsAnchorDown: boolean-Sets Is Anchor Down.
SetOwnerEntityIdInOwnerId: FB1EntityId-Sets Owner Entity Id.
TryDisembarkingVehicleInEntityId: FB1EntityId, bClearCharacterState: booleanboolean

Override points (4)

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

FunctionParametersReturnsDescription
Override_ForcedPassengersExit--
Override_GetOutAllPassengersForShipwreckInDisasterId: string-Returns Out All Passengers For Shipwreck.
Override_ProcessRidingEntityDeathInRidingEntityId: FB1EntityId-
Override_TryDisembarkingVehicleInEntityId: FB1EntityId, bClearCharacterState: booleanboolean