Template:Vehicle functions: Difference between revisions
Jump to navigation
Jump to search
m (Fixed inconsistencies for webscraping) |
TheNormalnij (talk | contribs) (Add spawnVehicleFlyingComponent) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
<ul> | <ul> | ||
<li>[[addVehicleSirens]]</li> | {{#if: {{{1|}}} | ||
| {{#ifeq: {{lc:{{{1}}}}} | client | |||
| | |||
<!-- CLIENT functions --> | |||
<li>[[areVehicleLightsOn]]</li> | |||
<li>[[getHeliBladeCollisionsEnabled]]</li> | |||
<li>[[getHelicopterRotorSpeed]]</li> | |||
{{New feature/item|3.0161|1.6.0|22344| | |||
<li>[[getVehicleRotorSpeed]]</li> | |||
}} | |||
<li>[[getVehicleAdjustableProperty]]</li> | |||
<li>[[getVehicleComponentPosition]]</li> | |||
<li>[[getVehicleComponentRotation]]</li> | |||
<li>[[getVehicleComponents]]</li> | |||
<li>[[getVehicleComponentScale]]</li> | |||
<li>[[getVehicleComponentVisible]]</li> | |||
<li>[[getVehicleCurrentGear]]</li> | |||
<li>[[getVehicleDummyPosition]]</li> | |||
{{New items|3.0161|1.6.0| | |||
<li>[[getVehicleEntryPoints]]</li> | |||
|22649}} | |||
<li>[[getVehicleGravity]]</li> | |||
<li>[[getVehicleLandingGearDown]]</li> | |||
<li>[[getVehicleModelDummyDefaultPosition]]</li> | |||
<li>[[getVehicleModelDummyPosition]]</li> | |||
<li>[[getVehicleModelExhaustFumesPosition]]</li> | |||
<li>[[getVehicleModelWheelSize]]</li> | |||
<li>[[getVehicleNitroCount]]</li> | |||
<li>[[getVehicleNitroLevel]]</li> | |||
<li>[[getVehicleWheelFrictionState]]</li> | |||
<li>[[getVehicleWheelScale]]</li> | |||
<li>[[isTrainChainEngine]]</li> | |||
<li>[[isVehicleNitroActivated]]</li> | |||
<li>[[isVehicleNitroRecharging]]</li> | |||
<li>[[isVehicleOnGround]]</li> | |||
<li>[[isVehicleWheelOnGround]]</li> | |||
<li>[[isVehicleWindowOpen]]</li> | |||
<li>[[resetVehicleComponentPosition]]</li> | |||
<li>[[resetVehicleComponentRotation]]</li> | |||
<li>[[resetVehicleComponentScale]]</li> | |||
<li>[[resetVehicleDummyPositions]]</li> | |||
<li>[[setHeliBladeCollisionsEnabled]]</li> | |||
<li>[[setHelicopterRotorSpeed]]</li> | |||
{{New items|3.0161|1.6.0| | |||
<li>[[setVehicleRotorSpeed]]</li> | |||
|22344}} | |||
<li>[[setVehicleAdjustableProperty]]</li> | |||
<li>[[setVehicleComponentPosition]]</li> | |||
<li>[[setVehicleComponentRotation]]</li> | |||
<li>[[setVehicleComponentScale]]</li> | |||
<li>[[setVehicleComponentVisible]]</li> | |||
<li>[[setVehicleDummyPosition]]</li> | |||
<li>[[setVehicleGravity]]</li> | |||
<li>[[setVehicleLandingGearDown]]</li> | |||
<li>[[setVehicleModelDummyPosition]]</li> | |||
<li>[[setVehicleModelExhaustFumesPosition]]</li> | |||
<li>[[setVehicleModelWheelSize]]</li> | |||
<li>[[setVehicleNitroActivated]]</li> | |||
<li>[[setVehicleNitroCount]]</li> | |||
<li>[[setVehicleNitroLevel]]</li> | |||
<li>[[setVehicleWheelScale]]</li> | |||
<li>[[setVehicleWheelStates]]</li> | |||
<li>[[setVehicleWindowOpen]]</li> | |||
{{New items|3.0161|1.6.0| | |||
<li>[[setVehicleWheelsRotation]]</li> | |||
|22592}} | |||
| {{#ifeq: {{lc:{{{1}}}}} | server | |||
| | |||
<!-- SERVER functions --> | |||
<li>[[addVehicleSirens]]</li> | |||
<li>[[getModelHandling]]</li> | |||
<li>[[getVehicleIdleRespawnDelay]]</li> | |||
<li>[[getVehicleRespawnDelay]]</li> | |||
<li>[[getVehicleRespawnPosition]]</li> | |||
<li>[[getVehicleRespawnRotation]]</li> | |||
<li>[[getVehiclesOfType]]</li> | |||
<li>[[isVehicleRespawnable]]</li> | |||
<li>[[removeVehicleSirens]]</li> | |||
<li>[[resetVehicleExplosionTime]]</li> | |||
<li>[[resetVehicleIdleTime]]</li> | |||
<li>[[respawnVehicle]]</li> | |||
<li>[[setModelHandling]]</li> | |||
<li>[[setVehicleIdleRespawnDelay]]</li> | |||
<li>[[setVehicleRespawnDelay]]</li> | |||
<li>[[setVehicleRespawnPosition]]</li> | |||
<li>[[setVehicleRespawnRotation]]</li> | |||
<li>[[spawnVehicle]]</li> | |||
<li>[[toggleVehicleRespawn]]</li> | |||
}} | |||
}} | |||
</br> | |||
<li style="list-style: none; margin-left: -1.6em;">'''Shared'''</li> | |||
}} | |||
<!-- SHARED functions--> | |||
<li>[[addVehicleUpgrade]]</li> | <li>[[addVehicleUpgrade]]</li> | ||
<li>[[attachTrailerToVehicle]]</li> | <li>[[attachTrailerToVehicle]]</li> | ||
Line 7: | Line 102: | ||
<li>[[detachTrailerFromVehicle]]</li> | <li>[[detachTrailerFromVehicle]]</li> | ||
<li>[[fixVehicle]]</li> | <li>[[fixVehicle]]</li> | ||
<li>[[getOriginalHandling]]</li> | <li>[[getOriginalHandling]]</li> | ||
<li>[[getTrainDirection]]</li> | <li>[[getTrainDirection]]</li> | ||
<li>[[getTrainPosition]]</li> | <li>[[getTrainPosition]]</li> | ||
<li>[[getTrainSpeed]]</li> | <li>[[getTrainSpeed]]</li> | ||
<li>[[getTrainTrack]]</li> | |||
<li>[[getVehicleColor]]</li> | <li>[[getVehicleColor]]</li> | ||
<li>[[getVehicleCompatibleUpgrades]]</li> | <li>[[getVehicleCompatibleUpgrades]]</li> | ||
Line 32: | Line 127: | ||
<li>[[getVehiclePanelState]]</li> | <li>[[getVehiclePanelState]]</li> | ||
<li>[[getVehiclePlateText]]</li> | <li>[[getVehiclePlateText]]</li> | ||
<li>[[getVehicleSirenParams]]</li> | <li>[[getVehicleSirenParams]]</li> | ||
<li>[[getVehicleSirens]]</li> | <li>[[getVehicleSirens]]</li> | ||
<li>[[getVehicleSirensOn]]</li> | <li>[[getVehicleSirensOn]]</li> | ||
<li>[[getVehicleTowedByVehicle]]</li> | <li>[[getVehicleTowedByVehicle]]</li> | ||
<li>[[getVehicleTowingVehicle]]</li> | <li>[[getVehicleTowingVehicle]]</li> | ||
<li>[[getVehicleTurretPosition]]</li> | |||
{{Deprecated items|3.0156|1.5.6| | {{Deprecated items|3.0156|1.5.6| | ||
<li>[[getVehicleTurnVelocity]]</li> | <li>[[getVehicleTurnVelocity]]</li> | ||
}} | }} | ||
<li>[[getVehicleType]]</li> | <li>[[getVehicleType]]</li> | ||
<li>[[getVehicleUpgradeOnSlot]]</li> | <li>[[getVehicleUpgradeOnSlot]]</li> | ||
<li>[[getVehicleUpgradeSlotName]]</li> | |||
<li>[[getVehicleUpgrades]]</li> | <li>[[getVehicleUpgrades]]</li> | ||
<li>[[getVehicleVariant]]</li> | <li>[[getVehicleVariant]]</li> | ||
<li>[[getVehicleWheelStates]]</li> | <li>[[getVehicleWheelStates]]</li> | ||
Line 58: | Line 150: | ||
<li>[[isVehicleOnGround]]</li> | <li>[[isVehicleOnGround]]</li> | ||
<li>[[isVehicleTaxiLightOn]]</li> | <li>[[isVehicleTaxiLightOn]]</li> | ||
<li>[[removeVehicleUpgrade]]</li> | <li>[[removeVehicleUpgrade]]</li> | ||
<li>[[setTrainDerailable]]</li> | <li>[[setTrainDerailable]]</li> | ||
<li>[[setTrainDerailed]]</li> | <li>[[setTrainDerailed]]</li> | ||
Line 69: | Line 156: | ||
<li>[[setTrainPosition]]</li> | <li>[[setTrainPosition]]</li> | ||
<li>[[setTrainSpeed]]</li> | <li>[[setTrainSpeed]]</li> | ||
<li>[[setTrainTrack]]</li> | |||
<li>[[setVehicleColor]]</li> | <li>[[setVehicleColor]]</li> | ||
<li>[[setVehicleDamageProof]]</li> | <li>[[setVehicleDamageProof]]</li> | ||
Line 78: | Line 166: | ||
<li>[[setVehicleHandling]]</li> | <li>[[setVehicleHandling]]</li> | ||
<li>[[setVehicleHeadLightColor]]</li> | <li>[[setVehicleHeadLightColor]]</li> | ||
<li>[[setVehicleLandingGearDown]]</li> | <li>[[setVehicleLandingGearDown]]</li> | ||
<li>[[setVehicleLightState]]</li> | <li>[[setVehicleLightState]]</li> | ||
Line 86: | Line 173: | ||
<li>[[setVehiclePanelState]]</li> | <li>[[setVehiclePanelState]]</li> | ||
<li>[[setVehiclePlateText]]</li> | <li>[[setVehiclePlateText]]</li> | ||
<li>[[setVehicleSirens]]</li> | <li>[[setVehicleSirens]]</li> | ||
<li>[[setVehicleSirensOn]]</li> | <li>[[setVehicleSirensOn]]</li> | ||
Line 96: | Line 180: | ||
}} | }} | ||
<li>[[setVehicleTurretPosition]]</li> | <li>[[setVehicleTurretPosition]]</li> | ||
<li>[[setVehicleVariant]]</li> | <li>[[setVehicleVariant]]</li> | ||
<li>[[setVehicleWheelStates]]</li> | <li>[[setVehicleWheelStates]]</li> | ||
<li>[[ | {{New items|3.0161|1.6.0| | ||
<li>[[spawnVehicleFlyingComponent]]</li> | |||
|22771}} | |||
</ul> | </ul> | ||
</includeonly> | |||
<noinclude>[[Category:Functions templates]]</noinclude> | <noinclude> | ||
{{Functions list info}} | |||
[[Category:Functions templates]]</noinclude> |
Latest revision as of 13:42, 15 October 2024
The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed
Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.