Difference between revisions of "MDE Scripting: Entities"

From Nomad DB
Line 88: Line 88:
  
 
===Motorcycle===
 
===Motorcycle===
 
+
{| class="wikitable"
*WIP
+
!Tip
 
+
|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.
 +
|-
 +
!How to
 +
|[[MDE Scripting: Snippets#Get the Player's current Motorcycle component|Get the Player's current Motorcycle component]]
 +
|}
 +
*[[MDE Scripting: AddNavModePathWaypoint|Motorcycle:AddNavModePathWaypoint]]
 +
*[[MDE Scripting: CreateController|Motorcycle:CreateController]]
 +
*[[MDE Scripting: CreateControllerByName|Motorcycle:CreateControllerByName]]
 +
*[[MDE Scripting: DestroyController|Motorcycle:DestroyController]]
 +
*[[MDE Scripting: DisableAvoidance|Motorcycle:DisableAvoidance]]
 +
*[[MDE Scripting: GetActualFuel|Motorcycle:GetActualFuel]]
 +
*[[MDE Scripting: GetFuelTankCapacity|Motorcycle:GetFuelTankCapacity]]
 +
*[[MDE Scripting: GetMotorDamage|Motorcycle:GetMotorDamage]]
 +
*[[MDE Scripting: GetPassengers|Motorcycle:GetPassengers]]
 +
*[[MDE Scripting: GetPerfRating|Motorcycle:GetPerfRating]]
 +
*[[MDE Scripting: GetResistance|Motorcycle:GetResistance]]
 +
*[[MDE Scripting: GetSeatCount|Motorcycle:GetSeatCount]]
 +
*[[MDE Scripting: GetSeatOwner|Motorcycle:GetSeatOwner]]
 +
*[[MDE Scripting: GetSpeedFloat|Motorcycle:GetSpeedFloat]]
 +
*[[MDE Scripting: GetVehicleModelName|Motorcycle:GetVehicleModelName]]
 +
*[[MDE Scripting: InitializeAIParams|Motorcycle:InitializeAIParams]]
 +
*[[MDE Scripting: IsEngineOn|Motorcycle:IsEngineOn]]
 +
*[[MDE Scripting: LockPlayerEntryPointForSeatID|Motorcycle:LockPlayerEntryPointForSeatID]]
 +
*[[MDE Scripting: LockPlayerEntryPoints|Motorcycle:LockPlayerEntryPoints]]
 +
*[[MDE Scripting: RegisterProblemCallback|Motorcycle:RegisterProblemCallback]]
 +
*[[MDE Scripting: Repair|Motorcycle:Repair]]
 +
*[[MDE Scripting: SetActualFuel|Motorcycle:SetActualFuel]]
 +
*[[MDE Scripting: SetColor|Motorcycle:SetColor]]
 +
*[[MDE Scripting: SetEngineOn|Motorcycle:SetEngineOn]]
 +
*[[MDE Scripting: SetForceStopMode|Motorcycle:SetForceStopMode]]
 +
*[[MDE Scripting: SetNavModeFollowTrail|Motorcycle:SetNavModeFollowTrail]]
 +
*[[MDE Scripting: SetNavModeHunt|Motorcycle:SetNavModeHunt]]
 +
*[[MDE Scripting: SetNavModeMoveTo|Motorcycle:SetNavModeMoveTo]]
 +
*[[MDE Scripting: SetNavModePath|Motorcycle:SetNavModePath]]
 +
*[[MDE Scripting: SetNavModeStand|Motorcycle:SetNavModeStand]]
 +
*[[MDE Scripting: SetNavModeWander|Motorcycle:SetNavModeWander]]
 +
*[[MDE Scripting: SetNavModeWanderAway|Motorcycle:SetNavModeWanderAway]]
 +
*[[MDE Scripting: SetPreLaunchMode|Motorcycle:SetPreLaunchMode]]
 +
*[[MDE Scripting: SetResistance|Motorcycle:SetResistance]]
 +
*[[MDE Scripting: SetRubberBandingOff|Motorcycle:SetRubberBandingOff]]
 +
*[[MDE Scripting: SetRubberBandingOn|Motorcycle:SetRubberBandingOn]]
 +
*[[MDE Scripting: SetSpeed|Motorcycle:SetSpeed]]
 +
*[[MDE Scripting: SetSpeedLimiter|Motorcycle:SetSpeedLimiter]]
 +
*[[MDE Scripting: SetSpeedLimiterSpeed|Motorcycle:SetSpeedLimiterSpeed]]
 +
*[[MDE Scripting: Spawn|Motorcycle:Spawn]]
 +
*[[MDE Scripting: UnlockPlayerEntryPointForSeatID|Motorcycle:UnlockPlayerEntryPointForSeatID]]
 +
*[[MDE Scripting: UnlockPlayerEntryPoints|Motorcycle:UnlockPlayerEntryPoints]]
 +
*[[MDE Scripting: UnregisterProblemCallback|Motorcycle:UnregisterProblemCallback]]
  
 
==Camera==
 
==Camera==

Revision as of 04:34, 17 October 2020

Common

Tip All entities are SceneObject. They extends of C_SceneObjectLuaWrapper.

Human

  • WIP


Player

How to Get the Player entity


Vehicle

How to Get the Player's current Vehicle entity


Car

  • WIP


Motorcycle

Tip You need to get the C_RuntimeMotorcycleComponent component from the Vehicle SceneObject to use theses functions.
How to Get the Player's current Motorcycle component

Camera

  • WIP


Props

  • WIP