Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="100%" cellspacing="0" cellpadding="0"
| colspan="2" |


 
==RAGE Classes==
| width="50%" style="vertical-align:top;" |
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.5); border-radius: 5px 5px 0px 0px;">
<div style="float:right; width: 32px;">[[File:Scripting.png|32px|right]]</div>
<h3>RAGE Classes</h3>
----
===Entity pool===
===Entity pool===
{{EntityPool_Client_functions}}
{{EntityPool_Client_functions}}
Line 65: Line 58:
===Discord===
===Discord===
*[[Discord::update|mp.discord.update]]
*[[Discord::update|mp.discord.update]]
*[[Discord::requestOAuth2|mp.discord.requestOAuth2]]


===Event===
===Event===
Line 76: Line 70:


===Nametags===
===Nametags===
*Functions:
{{Nametags_functions_c}}
**[[nametags.update|mp.nametags.update]]
**[[nametags.set|mp.nametags.set]]
*Properties:
**[[nametags.enabled|mp.nametags.enabled]]
**[[nametags.orderByDistance|mp.nametags.orderByDistance]]
**[[nametags.useScreen2dCoords|mp.nametags.useScreen2dCoords]]


===Preferences===
===Preferences===
Line 88: Line 76:


===Raycasting===
===Raycasting===
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
{{Raycast_functions_c}}
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPointAsync]]
*[[Raycasting::testCapsule|mp.raycasting.testCapsule]]


===Storage===
===Storage===
Line 103: Line 89:


===Voice chat===
===Voice chat===
*Functions:
{{Voicechat}}
**[[voiceChat.getPreprocessingParam|mp.voiceChat.getPreprocessingParam]]
**[[voiceChat.setPreprocessingParam|mp.voiceChat.setPreprocessingParam]]
*Properties:
**[[voiceChat.lastVad|mp.voiceChat.lastVad]]
**[[voiceChat.minVad|mp.voiceChat.minVad]]
**[[voiceChat.muted|mp.voiceChat.muted]]
 
| width="50%" style="vertical-align:top;" |


<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.5); border-radius: 5px 5px 0px 0px;">
==Game Static Objects==
<div style="float:right; width: 16px;">[[File:Scripting.png|32px|right]]</div>
<h3>Game Static Objects</h3>
----
===Game Globals===
===Game Globals===
{{GameGlobals}}
{{GameGlobals}}
Line 159: Line 134:
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[Client-side_functions#Zone|mp.game.zone]]
**[[Client-side_functions#Zone|mp.game.zone]]
**[[Client-side_functions#Replay|mp.game.replay]]
**[[Client-side_functions#GameClock|mp.game.clock]]
**[[Client-side_functions#GameFiles|mp.game.files]]


===App===
===App===
Line 207: Line 185:
{{Gameplay_functions_c}}
{{Gameplay_functions_c}}


===Replay===
{{Replay_functions_c}}
===GameClock===
{{GameClock_functions_c}}
===GameFiles===
{{GameFiles_functions_c}}


===Graphics===
===Graphics===
Line 278: Line 264:
===Zone===
===Zone===
{{Zone_functions_c}}
{{Zone_functions_c}}
</div>

Latest revision as of 17:42, 16 March 2025

RAGE Classes

Entity pool

Blip

Browser

Camera

Checkpoint

Dummy Entity

Entity

Label

Marker

Object

Peds

Pickup

Player

Vector3

Vehicle

RAGE Static Objects

Globals

Console

Cursor

Discord

Event

Gui

Keys

Nametags

Preferences

Raycasting

Storage

System

Voice chat

Game Static Objects

Game Globals

App

Audio

Brain

Cam

Controls

Task

GameEntity

Cutscene

Datafile

Decisionevent

Decorator

DLC

DLC2

Fire

Gameplay

Replay

GameClock

GameFiles

Graphics

GXT

Interior

Itemset

Mobile

Object

  • [[Object::disableGlow|mp.game.object.disableGlow

Pathfind

Ped

Player

Recorder

Rope

Script

Stats

Streaming

System (Game)

Time

Ui

Unk

Vehicle

Water

Weapon

Worldprobe

Zone