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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
− | ''' | + | '''Motorcycle is not a real entity but a SceneObject only.''' |
− | |||
+ | ==Methods== | ||
+ | *[[MDE Scripting: Activate|Motorcycle:Activate]] | ||
+ | *[[MDE Scripting: AddComponent|Motorcycle:AddComponent]] | ||
+ | *[[MDE Scripting: AddTag|Motorcycle:AddTag]] | ||
+ | *[[MDE Scripting: AddViScript|Motorcycle:AddViScript]] | ||
+ | *[[MDE Scripting: ApplyImpulse|Motorcycle:ApplyImpulse]] | ||
+ | *[[MDE Scripting: AttachObject|Motorcycle:AttachObject]] | ||
+ | *[[MDE Scripting: Block|Motorcycle:Block]] | ||
+ | *[[MDE Scripting: ContainsTags|Motorcycle:ContainsTags]] | ||
+ | *[[MDE Scripting: Deactivate|Motorcycle:Deactivate]] | ||
+ | *[[MDE Scripting: DetachObject|Motorcycle:DetachObject]] | ||
+ | *[[MDE Scripting: DynamicMove|Motorcycle:DynamicMove]] | ||
+ | *[[MDE Scripting: GetComponent|Motorcycle:GetComponent]] | ||
+ | *[[MDE Scripting: GetDebugPath|Motorcycle:GetDebugPath]] | ||
+ | *[[MDE Scripting: GetDir|Motorcycle:GetDir]] | ||
+ | *[[MDE Scripting: GetGroupObjects|Motorcycle:GetGroupObjects]] | ||
+ | *[[MDE Scripting: GetName|Motorcycle:GetName]] | ||
+ | *[[MDE Scripting: GetPos|Motorcycle:GetPos]] | ||
+ | *[[MDE Scripting: GetRot|Motorcycle:GetRot]] | ||
+ | *[[MDE Scripting: GetSingleTagValue|Motorcycle:GetSingleTagValue]] | ||
+ | *[[MDE Scripting: GetSubobjectByIndex|Motorcycle:GetSubobjectByIndex]] | ||
+ | *[[MDE Scripting: GetSubobjectByName|Motorcycle:GetSubobjectByName]] | ||
+ | *[[MDE Scripting: GetSubobjectsCount|Motorcycle:GetSubobjectsCount]] | ||
+ | *[[MDE Scripting: GetSubobjectsWithComponent|Motorcycle:GetSubobjectsWithComponent]] | ||
+ | *[[MDE Scripting: GetSubobjectsWithNamePrefix|Motorcycle:GetSubobjectsWithNamePrefix]] | ||
+ | *[[MDE Scripting: GetTagValueCount|Motorcycle:GetTagValueCount]] | ||
+ | *[[MDE Scripting: GetTransform|Motorcycle:GetTransform]] | ||
+ | *[[MDE Scripting: HasTag|Motorcycle:HasTag]] | ||
+ | *[[MDE Scripting: HasTagWithValue|Motorcycle:HasTagWithValue]] | ||
+ | *[[MDE Scripting: Hide|Motorcycle:Hide]] | ||
+ | *[[MDE Scripting: IsActive|Motorcycle:IsActive]] | ||
+ | *[[MDE Scripting: MergeTags|Motorcycle:MergeTags]] | ||
+ | *[[MDE Scripting: RemoveAllTags|Motorcycle:RemoveAllTags]] | ||
+ | *[[MDE Scripting: RemoveTag|Motorcycle:RemoveTag]] | ||
+ | *[[MDE Scripting: RemoveTagWithValue|Motorcycle:RemoveTagWithValue]] | ||
+ | *[[MDE Scripting: RemoveTagWithValuePair|Motorcycle:RemoveTagWithValuePair]] | ||
+ | *[[MDE Scripting: RemoveViScript|Motorcycle:RemoveViScript]] | ||
+ | *[[MDE Scripting: Reset|Motorcycle:Reset]] | ||
+ | *[[MDE Scripting: Rotate|Motorcycle:Rotate]] | ||
+ | *[[MDE Scripting: SetDir|Motorcycle:SetDir]] | ||
+ | *[[MDE Scripting: SetPos|Motorcycle:SetPos]] | ||
+ | *[[MDE Scripting: SetPosDir|Motorcycle:SetPosDir]] | ||
+ | *[[MDE Scripting: SetPosDirObject|Motorcycle:SetPosDirObject]] | ||
+ | *[[MDE Scripting: SetPosRot|Motorcycle:SetPosRot]] | ||
+ | *[[MDE Scripting: SetPosRotObject|Motorcycle:SetPosRotObject]] | ||
+ | *[[MDE Scripting: SetRot|Motorcycle:SetRot]] | ||
+ | *[[MDE Scripting: SetScale|Motorcycle:SetScale]] | ||
+ | *[[MDE Scripting: SetTransform|Motorcycle:SetTransform]] | ||
+ | *[[MDE Scripting: SetTransparency|Motorcycle:SetTransparency]] | ||
+ | *[[MDE Scripting: Show|Motorcycle:Show]] | ||
+ | *[[MDE Scripting: StopDynamicMove|Motorcycle:StopDynamicMove]] | ||
+ | *[[MDE Scripting: Unblock|Motorcycle:Unblock]] | ||
+ | |||
+ | |||
+ | ==Methods on [[MDE_Scripting:_C_RuntimeMotorcycleComponent|C_RuntimeMotorcycleComponent]] component== | ||
+ | {| 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. | ||
+ | |} | ||
− | |||
*[[MDE Scripting: AddNavModePathWaypoint|Motorcycle:AddNavModePathWaypoint]] | *[[MDE Scripting: AddNavModePathWaypoint|Motorcycle:AddNavModePathWaypoint]] | ||
*[[MDE Scripting: CreateController|Motorcycle:CreateController]] | *[[MDE Scripting: CreateController|Motorcycle:CreateController]] | ||
Line 99: | Line 157: | ||
[[Category:MDE Functions]] | [[Category:MDE Functions]] | ||
[[Category:MDE Entities]] | [[Category:MDE Entities]] | ||
− | [[Category:MDE | + | [[Category:MDE Motorcycle Entity]] |
Latest revision as of 23:18, 18 November 2020
How to | Get the vehicle's current Motorcycle component |
---|---|
Entity type | N/A |
Motorcycle is not a real entity but a SceneObject only.
Methods
- Motorcycle:Activate
- Motorcycle:AddComponent
- Motorcycle:AddTag
- Motorcycle:AddViScript
- Motorcycle:ApplyImpulse
- Motorcycle:AttachObject
- Motorcycle:Block
- Motorcycle:ContainsTags
- Motorcycle:Deactivate
- Motorcycle:DetachObject
- Motorcycle:DynamicMove
- Motorcycle:GetComponent
- Motorcycle:GetDebugPath
- Motorcycle:GetDir
- Motorcycle:GetGroupObjects
- Motorcycle:GetName
- Motorcycle:GetPos
- Motorcycle:GetRot
- Motorcycle:GetSingleTagValue
- Motorcycle:GetSubobjectByIndex
- Motorcycle:GetSubobjectByName
- Motorcycle:GetSubobjectsCount
- Motorcycle:GetSubobjectsWithComponent
- Motorcycle:GetSubobjectsWithNamePrefix
- Motorcycle:GetTagValueCount
- Motorcycle:GetTransform
- Motorcycle:HasTag
- Motorcycle:HasTagWithValue
- Motorcycle:Hide
- Motorcycle:IsActive
- Motorcycle:MergeTags
- Motorcycle:RemoveAllTags
- Motorcycle:RemoveTag
- Motorcycle:RemoveTagWithValue
- Motorcycle:RemoveTagWithValuePair
- Motorcycle:RemoveViScript
- Motorcycle:Reset
- Motorcycle:Rotate
- Motorcycle:SetDir
- Motorcycle:SetPos
- Motorcycle:SetPosDir
- Motorcycle:SetPosDirObject
- Motorcycle:SetPosRot
- Motorcycle:SetPosRotObject
- Motorcycle:SetRot
- Motorcycle:SetScale
- Motorcycle:SetTransform
- Motorcycle:SetTransparency
- Motorcycle:Show
- Motorcycle:StopDynamicMove
- Motorcycle:Unblock
Methods on C_RuntimeMotorcycleComponent component
Tip | You need to get the C_RuntimeMotorcycleComponent component from the vehicle SceneObject to use theses functions. |
---|
- 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