User Tools

Site Tools


scripting:system_values

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:system_values [2012/03/23 01:18] mitscripting:system_values [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== System Values ===== ===== System Values =====
  
-'System Values' are special global variables that provide information about the state of the current player and the world. +'System Values' are special read-only, global variables that provide information about the state of the current player and the world. 
-e.g.  'gPlayerAge' tells you the age of the current player. Here's a quick example of how you might use that+e.g.  ''$gPlayerAge'' tells you the age of the current player. Here's a quick example of how you might use that
  
 <codedoc> <codedoc>
Line 55: Line 55:
 <TABLE align=left WIDTH=90%><TR><TD WIDTH=33% VALIGN=TOP> <TABLE align=left WIDTH=90%><TR><TD WIDTH=33% VALIGN=TOP>
 </html> </html>
-**Player Location**+**Player Location**\\
 ''gPlayerX \\ ''gPlayerX \\
 gPlayerY \\ gPlayerY \\
Line 61: Line 61:
 '' ''
  
-**Tasking interface**+**Tasking interface**\\
 ''gTaskItem1 \\ ''gTaskItem1 \\
 gTaskItem2 \\ gTaskItem2 \\
Line 69: Line 69:
 </TD><TD WIDTH=33% VALIGN=TOP> </TD><TD WIDTH=33% VALIGN=TOP>
 </html> </html>
- +**Server Status**\\
-**Server Status**+
 ''   gServerTime \\      ''   gServerTime \\     
-   gNumPlayersOnline+   gNumPlayersOnline\\
 '' ''
  
-**Building access**+**Building access**\\
 '' gBuildingAccessNum \\ '' gBuildingAccessNum \\
 gBuildingScriptParam \\ gBuildingScriptParam \\
Line 82: Line 81:
 </TD><TD WIDTH=33% VALIGN=TOP> </TD><TD WIDTH=33% VALIGN=TOP>
 </html> </html>
-**Combat Players**+**Combat Players**\\
 ''gKillerID \\ ''gKillerID \\
 gKilledID \\ gKilledID \\
 gTargetID \\ gTargetID \\
 '' ''
-**Player User-details**+ 
 +**Player User-details**\\
 ''gPlayerAuth \\ ''gPlayerAuth \\
 gPlayerIsMember \\ gPlayerIsMember \\
scripting/system_values.1332465525.txt.gz · Last modified: (external edit)