MTA:Eir/Classes: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Here is a list of all MTA:Lua classes that native MTA:Eir supports. They are defined in the MTA:Lua class system. MTA:Lua is the Lua implementation developed and specialized for ...") |
No edit summary |
||
Line 4: | Line 4: | ||
===[[MTA:Eir/classes/Game_Entity|Game Entity]]=== | ===[[MTA:Eir/classes/Game_Entity|Game Entity]]=== | ||
*[[MTA:Eir/classes/Game_Entity/isFading|isFading]] | |||
*[[MTA:Eir/classes/Game_Entity/getFadingAlpha|getFadingAlpha]] | |||
*[[MTA:Eir/classes/Game_Entity/setColModel|setColModel]] | |||
*[[MTA:Eir/classes/Game_Entity/getColModel|getColModel]] | |||
*[[MTA:Eir/classes/Game_Entity/replaceTexture|replaceTexture]] | |||
*[[MTA:Eir/classes/Game_Entity/isRwObjectPresent|isRwObjectPresent]] | |||
===[[MTA:Eir/classes/Vehicle|Vehicle]]=== | ===[[MTA:Eir/classes/Vehicle|Vehicle]]=== | ||
*[[MTA:Eir/classes/Vehicle/setRotation|setRotation]] | |||
*[[MTA:Eir/classes/Vehicle/getRotation|getRotation]] | |||
*[[MTA:Eir/classes/Vehicle/setModel|setModel]] | |||
*[[MTA:Eir/classes/Vehicle/getModel|getModel]] | |||
*[[MTA:Eir/classes/Vehicle/setHealth|setHealth]] | |||
*[[MTA:Eir/classes/Vehicle/getHealth|getHealth]] | |||
*[[MTA:Eir/classes/Vehicle/fix|fix]] | |||
*[[MTA:Eir/classes/Vehicle/blow|blow]] | |||
*[[MTA:Eir/classes/Vehicle/isBlown|isBlown]] | |||
*[[MTA:Eir/classes/Vehicle/setExplodeTime|setExplodeTime]] | |||
*[[MTA:Eir/classes/Vehicle/getExplodeTime|getExplodeTime]] | |||
*[[MTA:Eir/classes/Vehicle/setBurningTime|setBurningTime]] | |||
*[[MTA:Eir/classes/Vehicle/getBurningTime|getBurningTime]] | |||
*[[MTA:Eir/classes/Vehicle/addUpgrade|addUpgrade]] | |||
*[[MTA:Eir/classes/Vehicle/getUpgradeOnSlot|getUpgradeOnSlot]] | |||
*[[MTA:Eir/classes/Vehicle/getUpgrades|getUpgrades]] | |||
*[[MTA:Eir/classes/Vehicle/setHandling|setHandling]] | |||
*[[MTA:Eir/classes/Vehicle/getHandling|getHandling]] | |||
*[[MTA:Eir/classes/Vehicle/removeUpgrade|removeUpgrade]] | |||
*[[MTA:Eir/classes/Vehicle/getOccupant|getOccupant]] | |||
*[[MTA:Eir/classes/Vehicle/getOccupants|getOccupants]] | |||
*[[MTA:Eir/classes/Vehicle/setOverrideLights|setOverrideLights]] | |||
*[[MTA:Eir/classes/Vehicle/getOverrideLights|getOverrideLights]] | |||
*[[MTA:Eir/classes/Vehicle/setTaxiLightOn|setTaxiLightOn]] | |||
*[[MTA:Eir/classes/Vehicle/isTaxiLightOn|isTaxiLightOn]] | |||
*[[MTA:Eir/classes/Vehicle/isUpsideDown|isUpsideDown]] | |||
*[[MTA:Eir/classes/Vehicle/setColor|setColor]] | |||
*[[MTA:Eir/classes/Vehicle/setColorRGB|setColorRGB]] | |||
*[[MTA:Eir/classes/Vehicle/getColor|getColor]] | |||
*[[MTA:Eir/classes/Vehicle/getColorRGB|getColorRGB]] | |||
*[[MTA:Eir/classes/Vehicle/setHeadLightColor|setHeadLightColor]] | |||
*[[MTA:Eir/classes/Vehicle/getHeadLightColor|getHeadLightColor]] | |||
*[[MTA:Eir/classes/Vehicle/attachTrailer|attachTrailer]] | |||
*[[MTA:Eir/classes/Vehicle/detachTrailer|detachTrailer]] | |||
*[[MTA:Eir/classes/Vehicle/getTowBarPos|getTowBarPos]] | |||
*[[MTA:Eir/classes/Vehicle/getTowHitchPos|getTowHitchPos]] | |||
*[[MTA:Eir/classes/Vehicle/setAdjustableProperty|setAdjustableProperty]] | |||
*[[MTA:Eir/classes/Vehicle/getAdjustableProperty|getAdjustableProperty]] | |||
*[[MTA:Eir/classes/Vehicle/setGravity|setGravity]] | |||
*[[MTA:Eir/classes/Vehicle/getGravity|getGravity]] | |||
*[[MTA:Eir/classes/Vehicle/setDoorState|setDoorState]] | |||
*[[MTA:Eir/classes/Vehicle/getDoorState|getDoorState]] | |||
*[[MTA:Eir/classes/Vehicle/setLightState|setLightState]] | |||
*[[MTA:Eir/classes/Vehicle/getLightState|getLightState]] | |||
*[[MTA:Eir/classes/Vehicle/setPanelState|setPanelState]] | |||
*[[MTA:Eir/classes/Vehicle/getPanelState|getPanelState]] | |||
*[[MTA:Eir/classes/Vehicle/setWheelStates|setWheelStates]] | |||
*[[MTA:Eir/classes/Vehicle/getWheelStates|getWheelStates]] | |||
*[[MTA:Eir/classes/Vehicle/cloneClump|cloneClump]] | |||
*[[MTA:Eir/classes/Vehicle/getComponent|getComponent]] | |||
*[[MTA:Eir/classes/Vehicle/getComponentNames|getComponentNames]] | |||
*[[MTA:Eir/classes/Vehicle/setEngineState|setEngineState]] | |||
*[[MTA:Eir/classes/Vehicle/getEngineState|getEngineState]] | |||
*[[MTA:Eir/classes/Vehicle/setHandbrakeOn|setHandbrakeOn]] | |||
*[[MTA:Eir/classes/Vehicle/isHandbrakeOn|isHandbrakeOn]] | |||
*[[MTA:Eir/classes/Vehicle/setLandingGearDown|setLandingGearDown]] | |||
*[[MTA:Eir/classes/Vehicle/getLandingGearDown|getLandingGearDown]] | |||
*[[MTA:Eir/classes/Vehicle/setLandingGearPosition|setLandingGearPosition]] | |||
*[[MTA:Eir/classes/Vehicle/getLandingGearPosition|getLandingGearPosition]] | |||
*[[MTA:Eir/classes/Vehicle/setBrakePedal|setBrakePedal]] | |||
*[[MTA:Eir/classes/Vehicle/setGasPedal|setGasPedal]] | |||
*[[MTA:Eir/classes/Vehicle/setSteerAngle|setSteerAngle]] | |||
*[[MTA:Eir/classes/Vehicle/setSecSteerAngle|setSecSteerAngle]] | |||
*[[MTA:Eir/classes/Vehicle/getCurrentGear|getCurrentGear]] | |||
*[[MTA:Eir/classes/Vehicle/getBrakePedal|getBrakePedal]] | |||
*[[MTA:Eir/classes/Vehicle/getGasPedal|getGasPedal]] | |||
*[[MTA:Eir/classes/Vehicle/getSteerAngle|getSteerAngle]] | |||
*[[MTA:Eir/classes/Vehicle/getSecSteerAngle|getSecSteerAngle]] | |||
*[[MTA:Eir/classes/Vehicle/setNitrousFuel|setNitrousFuel]] | |||
*[[MTA:Eir/classes/Vehicle/getNitrousFuel|getNitrousFuel]] | |||
*[[MTA:Eir/classes/Vehicle/setPaintjob|setPaintjob]] | |||
*[[MTA:Eir/classes/Vehicle/getPaintjob|getPaintjob]] | |||
*[[MTA:Eir/classes/Vehicle/getPlateText|getPlateText]] | |||
*[[MTA:Eir/classes/Vehicle/setSirensOn|setSirensOn]] | |||
*[[MTA:Eir/classes/Vehicle/getTowedByVehicle|getTowedByVehicle]] | |||
*[[MTA:Eir/classes/Vehicle/getTowingVehicle|getTowingVehicle]] | |||
*[[MTA:Eir/classes/Vehicle/setTurnVelocity|setTurnVelocity]] | |||
*[[MTA:Eir/classes/Vehicle/getTurnVelocity|getTurnVelocity]] | |||
*[[MTA:Eir/classes/Vehicle/setTurretRotation|setTurretRotation]] | |||
*[[MTA:Eir/classes/Vehicle/getTurretRotation|getTurretRotation]] | |||
*[[MTA:Eir/classes/Vehicle/setDamageProof|setDamageProof]] | |||
*[[MTA:Eir/classes/Vehicle/isDamageProof|isDamageProof]] | |||
*[[MTA:Eir/classes/Vehicle/setFrozen|setFrozen]] | |||
*[[MTA:Eir/classes/Vehicle/isFrozen|isFrozen]] | |||
*[[MTA:Eir/classes/Vehicle/setFuelTankExplodable|setFuelTankExplodable]] | |||
*[[MTA:Eir/classes/Vehicle/isFuelTankExplodable|isFuelTankExplodable]] | |||
*[[MTA:Eir/classes/Vehicle/setHeatSeekable|setHeatSeekable]] | |||
*[[MTA:Eir/classes/Vehicle/isHeatSeekable|isHeatSeekable]] | |||
*[[MTA:Eir/classes/Vehicle/setLocked|setLocked]] | |||
*[[MTA:Eir/classes/Vehicle/isLocked|isLocked]] | |||
*[[MTA:Eir/classes/Vehicle/isOnGround|isOnGround]] | |||
*[[MTA:Eir/classes/Vehicle/setDirtLevel|setDirtLevel]] | |||
*[[MTA:Eir/classes/Vehicle/getDirtLevel|getDirtLevel]] | |||
*[[MTA:Eir/classes/Vehicle/setDoorsUndamageable|setDoorsUndamageable]] | |||
*[[MTA:Eir/classes/Vehicle/areDoorsUndamageable|areDoorsUndamageable]] | |||
*[[MTA:Eir/classes/Vehicle/setDoorOpenRatio|setDoorOpenRatio]] | |||
*[[MTA:Eir/classes/Vehicle/getDoorOpenRatio|getDoorOpenRatio]] | |||
*[[MTA:Eir/classes/Vehicle/allowSwingingDoors|allowSwingingDoors]] | |||
*[[MTA:Eir/classes/Vehicle/areSwingingDoorsAllowed|areSwingingDoorsAllowed]] | |||
*[[MTA:Eir/classes/Vehicle/setRotorSpeed|setRotorSpeed]] | |||
*[[MTA:Eir/classes/Vehicle/getRotorSpeed|getRotorSpeed]] | |||
*[[MTA:Eir/classes/Vehicle/setSearchLightVisible|setSearchLightVisible]] | |||
*[[MTA:Eir/classes/Vehicle/isSearchLightVisible|isSearchLightVisible]] | |||
*[[MTA:Eir/classes/Vehicle/setHeliWinchType|setHeliWinchType]] | |||
*[[MTA:Eir/classes/Vehicle/getHeliWinchType|getHeliWinchType]] | |||
*[[MTA:Eir/classes/Vehicle/pickUpWithWinch|pickUpWithWinch]] | |||
*[[MTA:Eir/classes/Vehicle/getWinchedEntity|getWinchedEntity]] | |||
*[[MTA:Eir/classes/Vehicle/releaseWinched|releaseWinched]] | |||
*[[MTA:Eir/classes/Vehicle/setSmokeTrailEnabled|setSmokeTrailEnabled]] | |||
*[[MTA:Eir/classes/Vehicle/isSmokeTrailEnabled|isSmokeTrailEnabled]] | |||
*[[MTA:Eir/classes/Vehicle/setTrainDirection|setTrainDirection]] | |||
*[[MTA:Eir/classes/Vehicle/getTrainDirection|getTrainDirection]] | |||
*[[MTA:Eir/classes/Vehicle/setTrainSpeed|setTrainSpeed]] | |||
*[[MTA:Eir/classes/Vehicle/getTrainSpeed|getTrainSpeed]] | |||
*[[MTA:Eir/classes/Vehicle/getNextCarriage|getNextCarriage]] | |||
*[[MTA:Eir/classes/Vehicle/setNextCarriage|setNextCarriage]] | |||
*[[MTA:Eir/classes/Vehicle/setPreviousCarriage|setPreviousCarriage]] | |||
*[[MTA:Eir/classes/Vehicle/getPreviousCarriage|getPreviousCarriage]] | |||
*[[MTA:Eir/classes/Vehicle/setDerailable|setDerailable]] | |||
*[[MTA:Eir/classes/Vehicle/isDerailable|isDerailable]] | |||
*[[MTA:Eir/classes/Vehicle/setDerailed|setDerailed]] | |||
*[[MTA:Eir/classes/Vehicle/isDerailed|isDerailed]] | |||
===[[MTA:Eir/classes/Ped|Ped]]=== | ===[[MTA:Eir/classes/Ped|Ped]]=== | ||
Line 14: | Line 141: | ||
===[[MTA:Eir/classes/rw/Object|Object]]=== | ===[[MTA:Eir/classes/rw/Object|Object]]=== | ||
*[[MTA:Eir/classes/rw/Object/setParent|setParent]] | |||
*[[MTA:Eir/classes/rw/Frame/getFrame|getFrame]] | |||
*[[MTA:Eir/classes/rw/Frame/isValidChild|isValidChild]] | |||
===[[MTA:Eir/classes/rw/Frame|Frame]]=== | ===[[MTA:Eir/classes/rw/Frame|Frame]]=== | ||
*[[MTA:Eir/classes/rw/Frame/getName|getName]] | |||
*[[MTA:Eir/classes/rw/Frame/setName|setName]] | |||
*[[MTA:Eir/classes/rw/Frame/getHash|getHash]] | |||
*[[MTA:Eir/classes/rw/Frame/getLTM|getLTM]] | |||
*[[MTA:Eir/classes/rw/Frame/setModelling|setModelling]] | |||
*[[MTA:Eir/classes/rw/Frame/getModelling|getModelling]] | |||
*[[MTA:Eir/classes/rw/Frame/setPosition|setPosition]] | |||
*[[MTA:Eir/classes/rw/Frame/getPosition|getPosition]] | |||
*[[MTA:Eir/classes/rw/Frame/getObjects|getObjects]] | |||
*[[MTA:Eir/classes/rw/Frame/findFrame|findFrame]] | |||
*[[MTA:Eir/classes/rw/Frame/getLinkedFrames|getLinkedFrames]] | |||
*[[MTA:Eir/classes/rw/Frame/isValidChild|isValidChild]] | |||
===[[MTA:Eir/classes/rw/Atomic|Atomic]]=== | ===[[MTA:Eir/classes/rw/Atomic|Atomic]]=== | ||
*[[MTA:Eir/classes/rw/Atomic/clone|clone]] | |||
*[[MTA:Eir/classes/rw/Atomic/setClump|setClump]] | |||
*[[MTA:Eir/classes/rw/Atomic/getClump|getClump]] | |||
*[[MTA:Eir/classes/rw/Atomic/render|render]] | |||
*[[MTA:Eir/classes/rw/Atomic/getWorldSphere|getWorldSphere]] | |||
*[[MTA:Eir/classes/rw/Atomic/replaceModel|replaceModel]] | |||
*[[MTA:Eir/classes/rw/Atomic/isReplaced|isReplaced]] | |||
*[[MTA:Eir/classes/rw/Atomic/getReplaced|getReplaced]] | |||
*[[MTA:Eir/classes/rw/Atomic/restoreModel|restoreModel]] | |||
*[[MTA:Eir/classes/rw/Atomic/restoreAll|restoreAll]] | |||
===[[MTA:Eir/classes/rw/Clump|Clump]]=== | ===[[MTA:Eir/classes/rw/Clump|Clump]]=== | ||
*[[MTA:Eir/classes/rw/Clump/clone|clone]] | |||
*[[MTA:Eir/classes/rw/Clump/render|render]] | |||
*[[MTA:Eir/classes/rw/Clump/getAtomics|getAtomics]] | |||
*[[MTA:Eir/classes/rw/Clump/getLights|getLights]] | |||
*[[MTA:Eir/classes/rw/Clump/getCameras|getCameras]] | |||
*[[MTA:Eir/classes/rw/Clump/replaceModel|replaceModel]] | |||
*[[MTA:Eir/classes/rw/Clump/isReplaced|isReplaced]] | |||
*[[MTA:Eir/classes/rw/Clump/getReplaced|getReplaced]] | |||
*[[MTA:Eir/classes/rw/Clump/restoreModel|restoreModel]] | |||
*[[MTA:Eir/classes/rw/Clump/restoreAll|restoreAll]] | |||
===[[MTA:Eir/classes/rw/Light|Light]]=== | ===[[MTA:Eir/classes/rw/Light|Light]]=== | ||
*[[MTA:Eir/classes/rw/Light/clone|clone]] | |||
*[[MTA:Eir/classes/rw/Light/getLightType|getLightType]] | |||
*[[MTA:Eir/classes/rw/Light/setClump|setClump]] | |||
*[[MTA:Eir/classes/rw/Light/getClump|getClump]] | |||
*[[MTA:Eir/classes/rw/Light/setRadius|setRadius]] | |||
*[[MTA:Eir/classes/rw/Light/getRadius|getRadius]] | |||
*[[MTA:Eir/classes/rw/Light/setConeAngle|setConeAngle]] | |||
*[[MTA:Eir/classes/rw/Light/getConeAngle|getConeAngle]] | |||
*[[MTA:Eir/classes/rw/Light/setColor|setColor]] | |||
*[[MTA:Eir/classes/rw/Light/getColor|getColor]] | |||
*[[MTA:Eir/classes/rw/Light/setAttenuation|setAttenuation]] | |||
*[[MTA:Eir/classes/rw/Light/getAttenuation|getAttenuation]] | |||
*[[MTA:Eir/classes/rw/Light/setLightIndex|setLightIndex]] | |||
*[[MTA:Eir/classes/rw/Light/getLightIndex|getLightIndex]] | |||
*[[MTA:Eir/classes/rw/Light/addToScene|addToScene]] | |||
*[[MTA:Eir/classes/rw/Light/isAddedToScene|isAddedToScene]] | |||
*[[MTA:Eir/classes/rw/Light/removeFromScene|removeFromScene]] | |||
===[[MTA:Eir/classes/rw/Camera|Camera]]=== | ===[[MTA:Eir/classes/rw/Camera|Camera]]=== | ||
*[[MTA:Eir/classes/rw/Camera/setParent|setParent]] | |||
*[[MTA:Eir/classes/rw/Camera/setClump|setClump]] | |||
*[[MTA:Eir/classes/rw/Camera/getClump|getClump]] | |||
*[[MTA:Eir/classes/rw/Camera/isRendering|isRendering]] | |||
*[[MTA:Eir/classes/rw/Camera/update|update]] | |||
===[[MTA:Eir/classes/rw/TexDictionary|TexDictionary]]=== | ===[[MTA:Eir/classes/rw/TexDictionary|TexDictionary]]=== |
Revision as of 19:31, 11 December 2013
Here is a list of all MTA:Lua classes that native MTA:Eir supports. They are defined in the MTA:Lua class system. MTA:Lua is the Lua implementation developed and specialized for MTA:Eir.
Game classes
Game Entity
Vehicle
- setRotation
- getRotation
- setModel
- getModel
- setHealth
- getHealth
- fix
- blow
- isBlown
- setExplodeTime
- getExplodeTime
- setBurningTime
- getBurningTime
- addUpgrade
- getUpgradeOnSlot
- getUpgrades
- setHandling
- getHandling
- removeUpgrade
- getOccupant
- getOccupants
- setOverrideLights
- getOverrideLights
- setTaxiLightOn
- isTaxiLightOn
- isUpsideDown
- setColor
- setColorRGB
- getColor
- getColorRGB
- setHeadLightColor
- getHeadLightColor
- attachTrailer
- detachTrailer
- getTowBarPos
- getTowHitchPos
- setAdjustableProperty
- getAdjustableProperty
- setGravity
- getGravity
- setDoorState
- getDoorState
- setLightState
- getLightState
- setPanelState
- getPanelState
- setWheelStates
- getWheelStates
- cloneClump
- getComponent
- getComponentNames
- setEngineState
- getEngineState
- setHandbrakeOn
- isHandbrakeOn
- setLandingGearDown
- getLandingGearDown
- setLandingGearPosition
- getLandingGearPosition
- setBrakePedal
- setGasPedal
- setSteerAngle
- setSecSteerAngle
- getCurrentGear
- getBrakePedal
- getGasPedal
- getSteerAngle
- getSecSteerAngle
- setNitrousFuel
- getNitrousFuel
- setPaintjob
- getPaintjob
- getPlateText
- setSirensOn
- getTowedByVehicle
- getTowingVehicle
- setTurnVelocity
- getTurnVelocity
- setTurretRotation
- getTurretRotation
- setDamageProof
- isDamageProof
- setFrozen
- isFrozen
- setFuelTankExplodable
- isFuelTankExplodable
- setHeatSeekable
- isHeatSeekable
- setLocked
- isLocked
- isOnGround
- setDirtLevel
- getDirtLevel
- setDoorsUndamageable
- areDoorsUndamageable
- setDoorOpenRatio
- getDoorOpenRatio
- allowSwingingDoors
- areSwingingDoorsAllowed
- setRotorSpeed
- getRotorSpeed
- setSearchLightVisible
- isSearchLightVisible
- setHeliWinchType
- getHeliWinchType
- pickUpWithWinch
- getWinchedEntity
- releaseWinched
- setSmokeTrailEnabled
- isSmokeTrailEnabled
- setTrainDirection
- getTrainDirection
- setTrainSpeed
- getTrainSpeed
- getNextCarriage
- setNextCarriage
- setPreviousCarriage
- getPreviousCarriage
- setDerailable
- isDerailable
- setDerailed
- isDerailed
Ped
Object
RenderWare engine classes
Object
Frame
- getName
- setName
- getHash
- getLTM
- setModelling
- getModelling
- setPosition
- getPosition
- getObjects
- findFrame
- getLinkedFrames
- isValidChild
Atomic
- clone
- setClump
- getClump
- render
- getWorldSphere
- replaceModel
- isReplaced
- getReplaced
- restoreModel
- restoreAll
Clump
- clone
- render
- getAtomics
- getLights
- getCameras
- replaceModel
- isReplaced
- getReplaced
- restoreModel
- restoreAll
Light
- clone
- getLightType
- setClump
- getClump
- setRadius
- getRadius
- setConeAngle
- getConeAngle
- setColor
- getColor
- setAttenuation
- getAttenuation
- setLightIndex
- getLightIndex
- addToScene
- isAddedToScene
- removeFromScene