Difference between revisions of "MDE Scripting: Motorcycle Entity"
From Nomad DB
(Created page with "__TOC__ {| class="wikitable" |- !How to |Get the vehicle's current Motorcycle component |- !Entity...") |
|||
Line 99: | Line 99: | ||
[[Category:MDE Functions]] | [[Category:MDE Functions]] | ||
[[Category:MDE Entities]] | [[Category:MDE Entities]] | ||
− | [[Category:MDE | + | [[Category:MDE Motorcycle Entity]] |
Revision as of 23:02, 18 November 2020
Contents
How to | Get the vehicle's current Motorcycle component |
---|---|
Entity type | N/A |
Motorcyle 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