Difference between revisions of "MDE Scripting: Entities"
From Nomad DB
(→Common) |
|||
Line 88: | Line 88: | ||
===Motorcycle=== | ===Motorcycle=== | ||
− | + | {| class="wikitable" | |
− | * | + | !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. |
---|
- Common:Activate
- Common:AddComponent
- Common:AddTag
- Common:AddViScript
- Common:ApplyImpulse
- Common:AttachObject
- Common:Block
- Common:ContainsTags
- Common:Deactivate
- Common:DetachObject
- Common:DynamicMove
- Common:GetComponent
- Common:GetDebugPath
- Common:GetDir
- Common:GetGroupObjects
- Common:GetName
- Common:GetPos
- Common:GetRot
- Common:GetSingleTagValue
- Common:GetSubobjectByIndex
- Common:GetSubobjectByName
- Common:GetSubobjectsCount
- Common:GetSubobjectsWithComponent
- Common:GetSubobjectsWithNamePrefix
- Common:GetTagValueCount
- Common:GetTransform
- Common:HasTag
- Common:HasTagWithValue
- Common:Hide
- Common:IsActive
- Common:MergeTags
- Common:RemoveAllTags
- Common:RemoveTag
- Common:RemoveTagWithValue
- Common:RemoveTagWithValuePair
- Common:RemoveViScript
- Common:Reset
- Common:Rotate
- Common:SetDir
- Common:SetPos
- Common:SetPosDir
- Common:SetPosDirObject
- Common:SetPosRot
- Common:SetPosRotObject
- Common:SetRot
- Common:SetScale
- Common:SetTransform
- Common:SetTransparency
- Common:Show
- Common:StopDynamicMove
- Common:Unblock
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 |
- 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
Camera
- WIP
Props
- WIP