Template:World functions: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Rework) |
||
Line 1: | Line 1: | ||
< | <includeonly> | ||
<ul> | |||
{{#if: {{{1|}}} | |||
| {{#ifeq: {{lc:{{{1}}}}} | client | |||
| | |||
<!-- CLIENT functions --> | |||
<li>[[createSWATRope]]</li> | |||
<li>[[getBirdsEnabled]]</li> | |||
{{New feature/item|3.0161|1.6.0|22188| | |||
<li>[[getColorFilter]]</li> | |||
}} | |||
<li>[[getCoronaReflectionsEnabled]]</li> | |||
<li>[[getGarageBoundingBox]]</li> | |||
<li>[[getGaragePosition]]</li> | |||
<li>[[getGarageSize]]</li> | |||
<li>[[getGroundPosition]]</li> | |||
<li>[[getInteriorFurnitureEnabled]]</li> | |||
<li>[[getNearClipDistance]]</li> | |||
<li>[[getPedsLODDistance]]</li> | |||
<li>[[getRoofPosition]]</li> | |||
<li>[[getScreenFromWorldPosition]]</li> | |||
<li>[[getVehiclesLODDistance]]</li> | |||
<li>[[getWorldFromScreenPosition]]</li> | |||
{{New feature/item|3.0161|1.6.0|22592| | |||
<li>[[getWorldProperty]]</li> | |||
}} | |||
<li>[[isAmbientSoundEnabled]]</li> | |||
<li>[[isLineOfSightClear]]</li> | |||
{{New feature/item|3.0161|1.6.0|22676| | |||
<li>[[isTimeFrozen]]</li> | |||
}} | |||
<li>[[isWorldSoundEnabled]]</li> | |||
{{New feature/item|3.0161|1.6.0|22219| | |||
<li>[[processLineAgainstMesh]]</li> | |||
}} | |||
<li>[[processLineOfSight]]</li> | |||
<li>[[resetAmbientSounds]]</li> | |||
<li>[[resetBlurLevel]]</li> | |||
<li>[[resetColorFilter]]</li> | |||
<li>[[resetCoronaReflectionsEnabled]]</li> | |||
<li>[[resetNearClipDistance]]</li> | |||
<li>[[resetPedsLODDistance]]</li> | |||
{{New feature/item|3.0161|1.6.0|22676| | |||
<li>[[resetTimeFrozen]]</li> | |||
}} | |||
<li>[[resetVehiclesLODDistance]]</li> | |||
{{New feature/item|3.0161|1.6.0|22592| | |||
<li>[[resetWorldProperty]]</li> | |||
}} | |||
<li>[[resetWorldSounds]]</li> | |||
<li>[[setAmbientSoundEnabled]]</li> | |||
<li>[[setBirdsEnabled]]</li> | |||
<li>[[setColorFilter]]</li> | |||
<li>[[setCoronaReflectionsEnabled]]</li> | |||
<li>[[setInteriorFurnitureEnabled]]</li> | |||
<li>[[setInteriorSoundsEnabled]]</li> | |||
<li>[[setNearClipDistance]]</li> | |||
<li>[[setPedsLODDistance]]</li> | |||
{{New feature/item|3.0161|1.6.0|22676| | |||
<li>[[setTimeFrozen]]</li> | |||
}} | |||
<li>[[setVehiclesLODDistance]]</li> | |||
{{New feature/item|3.0161|1.6.0|22592| | |||
<li>[[setWorldProperty]]</li> | |||
}} | |||
<li>[[setWorldSoundEnabled]]</li> | |||
{{New feature/item|3.0161|1.6.0|21902| | |||
<li>[[setGrainLevel]]</li> | |||
}} | |||
{{New feature/item|3.0161|1.6.0|21902| | |||
<li>[[setGrainMultiplier]]</li> | |||
}} | |||
<li>[[testLineAgainstWater]]</li> | |||
| {{#ifeq: {{lc:{{{1}}}}} | server | |||
| | |||
<!-- SERVER functions --> | |||
<li>[[getJetpackWeaponEnabled]]</li> | |||
<li>[[setJetpackWeaponEnabled]]</li> | |||
}} | |||
}} | |||
</br> | |||
<li style="list-style: none; margin-left: -1.6em;">'''Shared'''</li> | |||
}} | |||
< | <!-- SHARED functions--> | ||
<li>[[ | <li>[[areTrafficLightsLocked]]</li> | ||
<li>[[ | <li>[[getAircraftMaxHeight]]</li> | ||
<li>[[getAircraftMaxVelocity]]</li> | |||
<li>[[getCloudsEnabled]]</li> | |||
<li>[[getFarClipDistance]]</li> | |||
<li>[[getFogDistance]]</li> | |||
<li>[[getGameSpeed]]</li> | |||
<li>[[getGravity]]</li> | |||
<li>[[getHeatHaze]]</li> | |||
<li>[[getInteriorSoundsEnabled]]</li> | |||
<li>[[getJetpackMaxHeight]]</li> | |||
<li>[[getMinuteDuration]]</li> | |||
<li>[[getMoonSize]]</li> | |||
<li>[[getOcclusionsEnabled]]</li> | |||
<li>[[getRainLevel]]</li> | |||
<li>[[getSunColor]]</li> | |||
<li>[[getSunSize]]</li> | |||
<li>[[getTime]]</li> | |||
<li>[[getTrafficLightState]]</li> | |||
<li>[[getWeather]]</li> | |||
<li>[[getWindVelocity]]</li> | |||
<li>[[getSkyGradient]]</li> | |||
<li>[[getPlayerBlurLevel]]</li> | |||
{{New items|3.0161|1.6.0| | |||
<li>[[isWorldSpecialPropertyEnabled]]</li> | |||
|22195}} | |||
<li>[[getZoneName]]</li> | |||
<li>[[isGarageOpen]]</li> | |||
<li>[[removeWorldModel]]</li> | |||
<li>[[resetFarClipDistance]]</li> | |||
<li>[[resetFogDistance]]</li> | |||
<li>[[resetHeatHaze]]</li> | |||
<li>[[resetMoonSize]]</li> | |||
<li>[[resetRainLevel]]</li> | |||
<li>[[resetSkyGradient]]</li> | |||
<li>[[resetSunColor]]</li> | |||
<li>[[resetSunSize]]</li> | |||
<li>[[resetWindVelocity]]</li> | |||
<li>[[restoreAllWorldModels]]</li> | |||
<li>[[restoreWorldModel]]</li> | |||
<li>[[setAircraftMaxHeight]]</li> | |||
<li>[[setAircraftMaxVelocity]]</li> | |||
<li>[[setCloudsEnabled]]</li> | |||
<li>[[setFarClipDistance]]</li> | |||
<li>[[setFogDistance]]</li> | |||
<li>[[setGameSpeed]]</li> | |||
<li>[[setGarageOpen]]</li> | |||
<li>[[setGravity]]</li> | |||
<li>[[setHeatHaze]]</li> | |||
<li>[[setInteriorSoundsEnabled]]</li> | |||
<li>[[setMinuteDuration]]</li> | |||
<li>[[setMoonSize]]</li> | |||
<li>[[setOcclusionsEnabled]]</li> | |||
<li>[[setRainLevel]]</li> | |||
<li>[[setSkyGradient]]</li> | |||
<li>[[setSunColor]]</li> | |||
<li>[[setSunSize]]</li> | |||
<li>[[setTime]]</li> | |||
<li>[[setTrafficLightState]]</li> | |||
<li>[[setTrafficLightsLocked]]</li> | |||
<li>[[setWeather]]</li> | |||
<li>[[setWeatherBlended]]</li> | |||
<li>[[setWindVelocity]]</li> | |||
<li>[[setJetpackMaxHeight]]</li> | |||
<li>[[setPlayerBlurLevel]]</li> | |||
{{New items|3.0161|1.6.0| | |||
<li>[[setWorldSpecialPropertyEnabled]]</li> | |||
|22195}} | |||
</ul> | </ul> | ||
</includeonly> | |||
<noinclude> | |||
{{ | {{Functions list info}} | ||
[[Category:Functions templates]]</noinclude> | |||
Revision as of 18:33, 6 September 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.