MDE Scripting: Motorcycle Entity
From Nomad DB
How to | Get the vehicle's current Motorcycle component |
---|---|
Entity type | N/A |
Motorcycle is not a real entity but a SceneObject only.
Methods
- Motorcycle:Activate
- Motorcycle:AddComponent
- Motorcycle:AddTag
- Motorcycle:AddViScript
- Motorcycle:ApplyImpulse
- Motorcycle:AttachObject
- Motorcycle:Block
- Motorcycle:ContainsTags
- Motorcycle:Deactivate
- Motorcycle:DetachObject
- Motorcycle:DynamicMove
- Motorcycle:GetComponent
- Motorcycle:GetDebugPath
- Motorcycle:GetDir
- Motorcycle:GetGroupObjects
- Motorcycle:GetName
- Motorcycle:GetPos
- Motorcycle:GetRot
- Motorcycle:GetSingleTagValue
- Motorcycle:GetSubobjectByIndex
- Motorcycle:GetSubobjectByName
- Motorcycle:GetSubobjectsCount
- Motorcycle:GetSubobjectsWithComponent
- Motorcycle:GetSubobjectsWithNamePrefix
- Motorcycle:GetTagValueCount
- Motorcycle:GetTransform
- Motorcycle:HasTag
- Motorcycle:HasTagWithValue
- Motorcycle:Hide
- Motorcycle:IsActive
- Motorcycle:MergeTags
- Motorcycle:RemoveAllTags
- Motorcycle:RemoveTag
- Motorcycle:RemoveTagWithValue
- Motorcycle:RemoveTagWithValuePair
- Motorcycle:RemoveViScript
- Motorcycle:Reset
- Motorcycle:Rotate
- Motorcycle:SetDir
- Motorcycle:SetPos
- Motorcycle:SetPosDir
- Motorcycle:SetPosDirObject
- Motorcycle:SetPosRot
- Motorcycle:SetPosRotObject
- Motorcycle:SetRot
- Motorcycle:SetScale
- Motorcycle:SetTransform
- Motorcycle:SetTransparency
- Motorcycle:Show
- Motorcycle:StopDynamicMove
- Motorcycle:Unblock
Methods on C_RuntimeMotorcycleComponent component
Tip | You need to get the C_RuntimeMotorcycleComponent component from the vehicle SceneObject to use theses functions. |
---|
- Motorcycle:AddNavModePathWaypoint
- Motorcycle:CreateController
- Motorcycle:CreateControllerByName
- Motorcycle:DestroyController
- Motorcycle:DisableAvoidance
- Motorcycle:GetActualFuel
- Motorcycle:GetFuelTankCapacity
- Motorcycle:GetMotorDamage
- Motorcycle:GetPassengers
- Motorcycle:GetPerfRating
- Motorcycle:GetResistance
- Motorcycle:GetSeatCount
- Motorcycle:GetSeatOwner
- Motorcycle:GetSpeedFloat
- Motorcycle:GetVehicleModelName
- Motorcycle:InitializeAIParams
- Motorcycle:IsEngineOn
- Motorcycle:LockPlayerEntryPointForSeatID
- Motorcycle:LockPlayerEntryPoints
- Motorcycle:RegisterProblemCallback
- Motorcycle:Repair
- Motorcycle:SetActualFuel
- Motorcycle:SetColor
- Motorcycle:SetEngineOn
- Motorcycle:SetForceStopMode
- Motorcycle:SetNavModeFollowTrail
- Motorcycle:SetNavModeHunt
- Motorcycle:SetNavModeMoveTo
- Motorcycle:SetNavModePath
- Motorcycle:SetNavModeStand
- Motorcycle:SetNavModeWander
- Motorcycle:SetNavModeWanderAway
- Motorcycle:SetPreLaunchMode
- Motorcycle:SetResistance
- Motorcycle:SetRubberBandingOff
- Motorcycle:SetRubberBandingOn
- Motorcycle:SetSpeed
- Motorcycle:SetSpeedLimiter
- Motorcycle:SetSpeedLimiterSpeed
- Motorcycle:Spawn
- Motorcycle:UnlockPlayerEntryPointForSeatID
- Motorcycle:UnlockPlayerEntryPoints
- Motorcycle:UnregisterProblemCallback
Implements
Components
- C_AIObjectComponent
- C_ActorActionComponent
- C_CollisionComponent
- C_DynamicComponent
- C_FramePropComponent
- C_GameAudioComponent
- C_GameAudioRainComponent
- C_KitComponent
- C_ModelComponent
- C_MotorcycleComponent
- C_RuntimeAIObjectComponent
- C_RuntimeActorActionComponent
- C_RuntimeMotorcycleComponent
- C_RuntimeScriptComponent
- C_RuntimeWaterDetectionComponent
- C_ScriptComponent
- C_SeatsComponent
- C_SkeletonComponent
- C_SpawnSystemComponent
- C_SysAudioObjectComponent
- C_TagComponent
- C_WaterDetectionComponent