|
|
Line 1: |
Line 1: |
− | {{Page_MDE}}
| + | <onlyinclude> |
− | ==Common==
| + | * [[MDE Scripting: Boat Entity|Boat]] |
− | {| class="wikitable"
| + | * [[MDE Scripting: Car Entity|Car]] |
− | !Tip
| + | * [[MDE Scripting: Door Entity|Door]] |
− | |All entities are SceneObject. They extends of [[MDE_Scripting:_C_SceneObjectLuaWrapper|C_SceneObjectLuaWrapper]]. | + | * [[MDE Scripting: Motorcycle Entity|Motorcycle]] |
− | |} | + | * [[MDE Scripting: Player Entity|Player]] |
| + | * [[MDE Scripting: Human Entity|Human]] |
| + | </onlyinclude> |
| | | |
− | *[[MDE Scripting: Activate|Common:Activate]]
| |
− | *[[MDE Scripting: AddComponent|Common:AddComponent]]
| |
− | *[[MDE Scripting: AddTag|Common:AddTag]]
| |
− | *[[MDE Scripting: AddViScript|Common:AddViScript]]
| |
− | *[[MDE Scripting: ApplyImpulse|Common:ApplyImpulse]]
| |
− | *[[MDE Scripting: AttachObject|Common:AttachObject]]
| |
− | *[[MDE Scripting: Block|Common:Block]]
| |
− | *[[MDE Scripting: ContainsTags|Common:ContainsTags]]
| |
− | *[[MDE Scripting: Deactivate|Common:Deactivate]]
| |
− | *[[MDE Scripting: DetachObject|Common:DetachObject]]
| |
− | *[[MDE Scripting: DynamicMove|Common:DynamicMove]]
| |
− | *[[MDE Scripting: GetComponent|Common:GetComponent]]
| |
− | *[[MDE Scripting: GetDebugPath|Common:GetDebugPath]]
| |
− | *[[MDE Scripting: GetDir|Common:GetDir]]
| |
− | *[[MDE Scripting: GetGroupObjects|Common:GetGroupObjects]]
| |
− | *[[MDE Scripting: GetName|Common:GetName]]
| |
− | *[[MDE Scripting: GetPos|Common:GetPos]]
| |
− | *[[MDE Scripting: GetRot|Common:GetRot]]
| |
− | *[[MDE Scripting: GetSingleTagValue|Common:GetSingleTagValue]]
| |
− | *[[MDE Scripting: GetSubobjectByIndex|Common:GetSubobjectByIndex]]
| |
− | *[[MDE Scripting: GetSubobjectByName|Common:GetSubobjectByName]]
| |
− | *[[MDE Scripting: GetSubobjectsCount|Common:GetSubobjectsCount]]
| |
− | *[[MDE Scripting: GetSubobjectsWithComponent|Common:GetSubobjectsWithComponent]]
| |
− | *[[MDE Scripting: GetSubobjectsWithNamePrefix|Common:GetSubobjectsWithNamePrefix]]
| |
− | *[[MDE Scripting: GetTagValueCount|Common:GetTagValueCount]]
| |
− | *[[MDE Scripting: GetTransform|Common:GetTransform]]
| |
− | *[[MDE Scripting: HasTag|Common:HasTag]]
| |
− | *[[MDE Scripting: HasTagWithValue|Common:HasTagWithValue]]
| |
− | *[[MDE Scripting: Hide|Common:Hide]]
| |
− | *[[MDE Scripting: IsActive|Common:IsActive]]
| |
− | *[[MDE Scripting: MergeTags|Common:MergeTags]]
| |
− | *[[MDE Scripting: RemoveAllTags|Common:RemoveAllTags]]
| |
− | *[[MDE Scripting: RemoveTag|Common:RemoveTag]]
| |
− | *[[MDE Scripting: RemoveTagWithValue|Common:RemoveTagWithValue]]
| |
− | *[[MDE Scripting: RemoveTagWithValuePair|Common:RemoveTagWithValuePair]]
| |
− | *[[MDE Scripting: RemoveViScript|Common:RemoveViScript]]
| |
− | *[[MDE Scripting: Reset|Common:Reset]]
| |
− | *[[MDE Scripting: Rotate|Common:Rotate]]
| |
− | *[[MDE Scripting: SetDir|Common:SetDir]]
| |
− | *[[MDE Scripting: SetPos|Common:SetPos]]
| |
− | *[[MDE Scripting: SetPosDir|Common:SetPosDir]]
| |
− | *[[MDE Scripting: SetPosDirObject|Common:SetPosDirObject]]
| |
− | *[[MDE Scripting: SetPosRot|Common:SetPosRot]]
| |
− | *[[MDE Scripting: SetPosRotObject|Common:SetPosRotObject]]
| |
− | *[[MDE Scripting: SetRot|Common:SetRot]]
| |
− | *[[MDE Scripting: SetScale|Common:SetScale]]
| |
− | *[[MDE Scripting: SetTransform|Common:SetTransform]]
| |
− | *[[MDE Scripting: SetTransparency|Common:SetTransparency]]
| |
− | *[[MDE Scripting: Show|Common:Show]]
| |
− | *[[MDE Scripting: StopDynamicMove|Common:StopDynamicMove]]
| |
− | *[[MDE Scripting: Unblock|Common:Unblock]]
| |
| | | |
− | | + | {{Page_MDE}} |
− | ==Camera==
| |
− | | |
− | *WIP
| |
− | | |
− | | |
− | ==Door==
| |
− | {| class="wikitable" | |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|N/A]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_ModelComponent|C_ModelComponent]], [[MDE Scripting: C_RuntimeActorActionComponent|C_RuntimeActorActionComponent]], [[MDE Scripting: C_RuntimeDoorComponent|C_RuntimeDoorComponent]] ''(not available on every door)'', [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | *WIP
| |
− | | |
− | | |
− | ==Human==
| |
− | {| class="wikitable"
| |
− | !Tip
| |
− | |Theses functions work for [[#Player|Player]].
| |
− | |-
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|8]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_ModelComponent|C_ModelComponent]], [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | *[[MDE Scripting: GetGUID|Human:GetGUID]]
| |
− | *[[MDE Scripting: GetType|Human:GetType]]
| |
− | *WIP
| |
− | | |
− | | |
− | ===Player===
| |
− | {| class="wikitable"
| |
− | !How to
| |
− | |[[MDE Scripting: Snippets#Get the Player entity|Get the Player entity]]
| |
− | |-
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|9]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_InteractionParticipantComponent|C_InteractionParticipantComponent]], [[MDE Scripting: C_ModelComponent|C_ModelComponent]], [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | * [[MDE Scripting: GetOwner|Player:GetOwner]]
| |
− | * [[MDE Scripting: GetOwnerSceneObject|Player:GetOwnerSceneObject]]
| |
− | *WIP
| |
− | | |
− | ==Props==
| |
− | | |
− | *WIP
| |
− | | |
− | | |
− | ==Spawner==
| |
− | {| class="wikitable"
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|65]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_ObjectListComponent|C_ObjectListComponent]], [[MDE Scripting: C_RuntimeSpawnerComponent|C_RuntimeSpawnerComponent]]
| |
− | |}
| |
− | *[[MDE Scripting: GetGUID|Spawner:GetGUID]]
| |
− | *[[MDE Scripting: GetType|Spawner:GetType]]
| |
− | *WIP
| |
− | | |
− | | |
− | ==Vehicle==
| |
− | {| class="wikitable"
| |
− | !Tip
| |
− | |Theses functions work for [[#Boat|Boat]], [[#Car|Car]] and [[#Motorcycle|Motorcycle]] ''(only the [[MDE Scripting: Snippets#Get the Player's current Vehicle entity|SceneObject]], '''not''' the [[MDE Scripting: Snippets#Get the Vehicle's current Motorcycle component|component]])''.
| |
− | |-
| |
− | !How to
| |
− | |[[MDE Scripting: Snippets#Get the Player's current Vehicle entity|Get the Player's current Vehicle entity]]
| |
− | |}
| |
− | *WIP
| |
− | | |
− | ===Boat===
| |
− | {| class="wikitable"
| |
− | !How to
| |
− | |[[MDE Scripting: Snippets#Get the Player's current Vehicle entity|Get the Player's current Boat entity]]
| |
− | |-
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|27]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_KitComponent|C_KitComponent]], [[MDE Scripting: C_RuntimeActorActionComponent|C_RuntimeActorActionComponent]], [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | *[[MDE Scripting: GetGUID|Boat:GetGUID]]
| |
− | *[[MDE Scripting: GetType|Boat:GetType]]
| |
− | *[[MDE Scripting: GetVehicleModelName|Boat:GetVehicleModelName]]
| |
− | *WIP
| |
− | | |
− | ===Car===
| |
− | {| class="wikitable" | |
− | !How to
| |
− | |[[MDE Scripting: Snippets#Get the Player's current Vehicle entity|Get the Player's current Car entity]]
| |
− | |-
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|10]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_KitComponent|C_KitComponent]], [[MDE Scripting: C_RuntimeActorActionComponent|C_RuntimeActorActionComponent]], [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | *[[MDE Scripting: GetGUID|Car:GetGUID]]
| |
− | *[[MDE Scripting: GetType|Car:GetType]]
| |
− | *[[MDE Scripting: GetVehicleModelName|Car:GetVehicleModelName]]
| |
− | *WIP
| |
− | | |
− | ===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 Vehicle's current Motorcycle component|Get the Vehicle's current Motorcycle component]]
| |
− | |-
| |
− | !Entity type
| |
− | |[[MDE Scripting: Enums#EntityType|N/A]]
| |
− | |-
| |
− | !Components
| |
− | |[[MDE Scripting: C_KitComponent|C_KitComponent]], [[MDE Scripting: C_ModelComponent|C_ModelComponent]], [[MDE Scripting: C_RuntimeActorActionComponent|C_RuntimeActorActionComponent]], [[MDE Scripting: C_RuntimeMotorcycleComponent|C_RuntimeMotorcycleComponent]], [[MDE Scripting: C_TagComponent|C_TagComponent]]
| |
− | |}
| |
− | *[[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]]
| |
| | | |
| | | |