Difference between revisions of "MDE Scripting: Motorcycle Entity"
From Nomad DB
Line 12: | Line 12: | ||
− | ''' | + | '''Motorcycle is not a real entity.''' |
You need to get the [[MDE_Scripting:_C_RuntimeMotorcycleComponent|C_RuntimeMotorcycleComponent]] component from the [[MDE Scripting: Snippets#Get the Player's current vehicle entity|vehicle SceneObject]] to use theses functions. | You need to get the [[MDE_Scripting:_C_RuntimeMotorcycleComponent|C_RuntimeMotorcycleComponent]] component from the [[MDE Scripting: Snippets#Get the Player's current vehicle entity|vehicle SceneObject]] to use theses functions. |
Revision as of 23:02, 18 November 2020
Contents
How to | Get the vehicle's current Motorcycle component |
---|---|
Entity type | N/A |
Motorcycle is not a real entity.
You need to get the C_RuntimeMotorcycleComponent component from the vehicle SceneObject to use theses functions.
Methods
- 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