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:10] – 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. | + | These values give details about the player the current event is executing for.\\ |
| - | For further details on each value, see the [[Scripting: | + | For further details on each value, see the [[Scripting: |
| < | < | ||
| <TABLE align=left WIDTH=90%>< | <TABLE align=left WIDTH=90%>< | ||
| Line 23: | Line 23: | ||
| gPlayerFamily \\ | gPlayerFamily \\ | ||
| gPlayerCash \\ | gPlayerCash \\ | ||
| + | gPlayerVehicle \\ | ||
| + | gPlayerFuel \\ | ||
| '' | '' | ||
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| - | '' | + | '' |
| - | gPlayerFuel \\ | + | |
| - | gPlayerAge \\ | + | |
| gPlayerFollowing \\ | gPlayerFollowing \\ | ||
| gPlayerNumFollowers \\ | gPlayerNumFollowers \\ | ||
| + | gPlayerKills \\ | ||
| + | gPlayerDeaths \\ | ||
| + | gPlayerRobocrowKills \\ | ||
| + | gPlayerRobocrowDeaths \\ | ||
| '' | '' | ||
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| - | '' | + | '' |
| - | gPlayerDeaths | + | gPlayerHealth |
| - | gPlayerRobocrowKills | + | gPlayerHunger |
| - | gPlayerRobocrowDeaths | + | gPlayerThirst |
| - | gPlayerItemCount | + | gPlayerMaxHealth |
| '' | '' | ||
| < | < | ||
| Line 47: | Line 51: | ||
| \\ | \\ | ||
| + | ===== Other System Values ===== | ||
| < | < | ||
| <TABLE align=left WIDTH=90%>< | <TABLE align=left WIDTH=90%>< | ||
| </ | </ | ||
| - | + | **Player | |
| - | === Player | + | |
| - | '' | + | |
| - | gPlayerHunger \\ | + | |
| - | gPlayerThirst \\ | + | |
| - | gPlayerMaxHealth \\ | + | |
| - | '' | + | |
| - | + | ||
| - | === Player Location === | + | |
| '' | '' | ||
| gPlayerY \\ | gPlayerY \\ | ||
| Line 64: | Line 61: | ||
| '' | '' | ||
| - | === Tasking interface | + | **Tasking interface**\\ |
| '' | '' | ||
| gTaskItem2 \\ | gTaskItem2 \\ | ||
| Line 72: | Line 69: | ||
| </ | </ | ||
| </ | </ | ||
| - | + | **Server Status**\\ | |
| - | === Server Status | + | |
| '' | '' | ||
| - | | + | |
| '' | '' | ||
| - | === Building access | + | **Building access**\\ |
| '' | '' | ||
| gBuildingScriptParam \\ | gBuildingScriptParam \\ | ||
| '' | '' | ||
| - | + | < | |
| - | === Combat Players | + | </ |
| + | </ | ||
| + | **Combat Players**\\ | ||
| '' | '' | ||
| gKilledID \\ | gKilledID \\ | ||
| Line 89: | Line 87: | ||
| '' | '' | ||
| - | === Player User-details | + | **Player User-details**\\ |
| '' | '' | ||
| gPlayerIsMember \\ | gPlayerIsMember \\ | ||
scripting/system_values.1332465013.txt.gz · Last modified: (external edit)
