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 01:08] – 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 12: | Line 12: | ||
| ===== Player Stats ===== | ===== 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%>< | ||
| </ | </ | ||
| - | gPlayerID \\ | + | '' |
| gPlayerTeam \\ | gPlayerTeam \\ | ||
| gPlayerLevel \\ | gPlayerLevel \\ | ||
| gPlayerKudos \\ | gPlayerKudos \\ | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| gPlayerFamily \\ | gPlayerFamily \\ | ||
| gPlayerCash \\ | gPlayerCash \\ | ||
| gPlayerVehicle \\ | gPlayerVehicle \\ | ||
| gPlayerFuel \\ | gPlayerFuel \\ | ||
| - | gPlayerAge \\ | + | '' |
| - | gPlayerFollowing \\ | + | |
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| + | '' | ||
| + | gPlayerFollowing \\ | ||
| gPlayerNumFollowers \\ | gPlayerNumFollowers \\ | ||
| gPlayerKills \\ | gPlayerKills \\ | ||
| Line 36: | Line 36: | ||
| gPlayerRobocrowKills \\ | gPlayerRobocrowKills \\ | ||
| gPlayerRobocrowDeaths \\ | gPlayerRobocrowDeaths \\ | ||
| - | gPlayerItemCount \\ | + | '' |
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | '' | ||
| + | gPlayerHealth \\ | ||
| + | gPlayerHunger \\ | ||
| + | gPlayerThirst \\ | ||
| + | gPlayerMaxHealth \\ | ||
| + | '' | ||
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| \\ | \\ | ||
| - | [[Scripting: | ||
| + | ===== Other System Values ===== | ||
| < | < | ||
| <TABLE align=left WIDTH=90%>< | <TABLE align=left WIDTH=90%>< | ||
| </ | </ | ||
| - | + | **Player | |
| - | === Player | + | |
| - | '' | + | |
| - | gPlayerHunger \\ | + | |
| - | gPlayerThirst \\ | + | |
| - | gPlayerMaxHealth \\ | + | |
| - | '' | + | |
| - | + | ||
| - | === Player Location === | + | |
| '' | '' | ||
| gPlayerY \\ | gPlayerY \\ | ||
| Line 60: | Line 61: | ||
| '' | '' | ||
| - | === Tasking interface | + | **Tasking interface**\\ |
| '' | '' | ||
| gTaskItem2 \\ | gTaskItem2 \\ | ||
| Line 68: | Line 69: | ||
| </ | </ | ||
| </ | </ | ||
| - | + | **Server Status**\\ | |
| - | === Server Status | + | |
| '' | '' | ||
| - | | + | |
| '' | '' | ||
| - | === Building access | + | **Building access**\\ |
| '' | '' | ||
| gBuildingScriptParam \\ | gBuildingScriptParam \\ | ||
| '' | '' | ||
| - | + | < | |
| - | === Combat Players | + | </ |
| + | </ | ||
| + | **Combat Players**\\ | ||
| '' | '' | ||
| gKilledID \\ | gKilledID \\ | ||
| Line 85: | Line 87: | ||
| '' | '' | ||
| - | === Player User-details | + | **Player User-details**\\ |
| '' | '' | ||
| gPlayerIsMember \\ | gPlayerIsMember \\ | ||
scripting/system_values.1332464890.txt.gz · Last modified: (external edit)
