scripting:system_values
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scripting:system_values [2012/03/23 00:52] – mit | scripting:system_values [2025/05/28 16:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== System Values ===== | ===== System Values ===== | ||
| - | ' | + | ' |
| - | e.g. ' | + | e.g. ''$gPlayerAge'' tells you the age of the current player. Here's a quick example of how you might use that |
| < | < | ||
| Line 11: | Line 11: | ||
| Here is the full current list of System Values: | Here is the full current list of System Values: | ||
| + | ===== Player Stats ===== | ||
| + | These values give details about the player the current event is executing for.\\ | ||
| + | For further details on each value, see the [[Scripting: | ||
| < | < | ||
| <TABLE align=left WIDTH=90%>< | <TABLE align=left WIDTH=90%>< | ||
| </ | </ | ||
| - | === Player Stats === | ||
| '' | '' | ||
| gPlayerTeam \\ | gPlayerTeam \\ | ||
| Line 23: | Line 25: | ||
| gPlayerVehicle \\ | gPlayerVehicle \\ | ||
| gPlayerFuel \\ | gPlayerFuel \\ | ||
| - | gPlayerAge \\ | + | '' |
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | '' | ||
| gPlayerFollowing \\ | gPlayerFollowing \\ | ||
| gPlayerNumFollowers \\ | gPlayerNumFollowers \\ | ||
| Line 30: | Line 36: | ||
| gPlayerRobocrowKills \\ | gPlayerRobocrowKills \\ | ||
| gPlayerRobocrowDeaths \\ | gPlayerRobocrowDeaths \\ | ||
| - | gPlayerItemCount \\ | ||
| '' | '' | ||
| - | |||
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| - | + | '' | |
| - | === Player Health & Needs === | + | gPlayerHealth \\ |
| - | '' | + | |
| gPlayerHunger \\ | gPlayerHunger \\ | ||
| gPlayerThirst \\ | gPlayerThirst \\ | ||
| gPlayerMaxHealth \\ | gPlayerMaxHealth \\ | ||
| '' | '' | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | \\ | ||
| - | === Player Location | + | ===== Other System Values |
| + | < | ||
| + | <TABLE align=left WIDTH=90%>< | ||
| + | </ | ||
| + | **Player Location**\\ | ||
| '' | '' | ||
| gPlayerY \\ | gPlayerY \\ | ||
| Line 50: | Line 61: | ||
| '' | '' | ||
| - | === Tasking interface | + | **Tasking interface**\\ |
| '' | '' | ||
| gTaskItem2 \\ | gTaskItem2 \\ | ||
| Line 58: | Line 69: | ||
| </ | </ | ||
| </ | </ | ||
| - | + | **Server Status**\\ | |
| - | === Server Status | + | |
| '' | '' | ||
| - | | + | |
| '' | '' | ||
| - | === Building access | + | **Building access**\\ |
| '' | '' | ||
| gBuildingScriptParam \\ | gBuildingScriptParam \\ | ||
| '' | '' | ||
| - | + | < | |
| - | === Combat Players | + | </ |
| + | </ | ||
| + | **Combat Players**\\ | ||
| '' | '' | ||
| gKilledID \\ | gKilledID \\ | ||
| Line 75: | Line 87: | ||
| '' | '' | ||
| - | === Player User-details | + | **Player User-details**\\ |
| '' | '' | ||
| gPlayerIsMember \\ | gPlayerIsMember \\ | ||
scripting/system_values.1332463923.txt.gz · Last modified: (external edit)
