scripting:reference:system_values
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:reference:system_values [2020/01/28 18:15] – [Other System Values] 51.148.136.100 | scripting:reference:system_values [2020/02/04 13:36] (current) – mit | ||
---|---|---|---|
Line 3: | Line 3: | ||
Here is the full current list of System Values: | Here is the full current list of System Values: | ||
- | ===== 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: | ||
- | '' | + | '' |
- | gPlayerTeam \\ | + | $gPlayerTeam \\ |
- | gPlayerLevel \\ | + | $gPlayerLevel \\ |
- | gPlayerKudos \\ | + | $gPlayerKudos \\ |
- | gPlayerFamily \\ | + | $gPlayerFamily \\ |
- | gPlayerCash \\ | + | $gPlayerCash \\ |
- | gPlayerVehicle \\ | + | $gPlayerVehicle \\ |
- | gPlayerFuel \\ | + | $gPlayerFuel \\ |
- | gPlayerNumJobs \\ | + | $gPlayerNumJobs \\ |
- | gPlayerCashSheckles \\ | + | $gPlayerCashSheckles \\ |
- | gPlayerAge \\ | + | $gPlayerAge \\ |
'' | '' | ||
- | '' | + | '' |
- | gPlayerNumFollowers \\ | + | $gPlayerNumFollowers \\ |
- | gPlayerKills \\ | + | $gPlayerKills \\ |
- | gPlayerDeaths \\ | + | $gPlayerDeaths \\ |
- | gPlayerRobocrowKills \\ | + | $gPlayerRobocrowKills \\ |
- | gPlayerRobocrowDeaths \\ | + | $gPlayerRobocrowDeaths \\ |
- | gPlayerCrowX \\ | + | $gPlayerCrowX \\ |
- | gPlayerCrowY \\ | + | $gPlayerCrowY \\ |
- | gPlayerIsMulti \\ | + | $gPlayerIsMulti \\ |
- | gPlayerHomeTownID \\ | + | $gPlayerHomeTownID \\ |
- | gPlayerBirthTownID \\ | + | $gPlayerBirthTownID \\ |
'' | '' | ||
- | '' | + | '' |
- | gPlayerHealth \\ | + | $gPlayerHealth \\ |
- | gPlayerHunger \\ | + | $gPlayerHunger \\ |
- | gPlayerThirst \\ | + | $gPlayerThirst \\ |
- | gPlayerWellbeing \\ | + | $gPlayerWellbeing \\ |
- | gPlayerMaxHealth \\ | + | $gPlayerMaxHealth \\ |
- | gPlayerNumSkills \\ | + | $gPlayerNumSkills \\ |
- | gPlayerNumDeaths \\ | + | $gPlayerNumDeaths \\ |
- | gPlayerInventoryFree \\ | + | $gPlayerInventoryFree \\ |
- | gPlayerInventoryUsed \\ | + | $gPlayerInventoryUsed \\ |
- | gPlayerRot \\ | + | $gPlayerRot |
+ | $gPlayerNetWorth | ||
'' | '' | ||
\\ | \\ | ||
- | ===== Other System Values ===== | ||
- | **Player Location**\\ | ||
- | '' | ||
- | gPlayerY \\ | ||
- | gPlayerWorldX \\ | ||
- | gPlayerWorldY \\ | ||
- | gNearestBuilding \\ | ||
- | gNearestBuildingCode \\ | ||
- | '' | ||
- | **Tasking interface**\\ | + | ==== Player Location ==== |
- | '' | + | '' |
- | gTaskItem2 | + | $gPlayerY \\ |
- | gTaskItem3 | + | $gPlayerWorldX \\ |
+ | $gPlayerWorldY | ||
+ | $gNearestBuilding | ||
+ | $gNearestBuildingCode | ||
'' | '' | ||
- | **Battles**\\ | + | ==== Buildings ==== |
- | '' | + | '' |
- | gBattleStat1 | + | $gBuildingAccessNum |
- | gBattleStat2 | + | $gBuildingScriptParam |
- | gBattleStat3 | + | $gBuildingX |
- | gBattleStat4 | + | $gBuildingY |
+ | $gBuildingCode \\ | ||
+ | $gBuildingOwnerID \\ | ||
+ | $gBuildingNumEmployees \\ | ||
+ | $gBuildingMaxEmployees \\ | ||
+ | $gBuildingSalePrice \\ | ||
+ | $gBuildingWage \\ | ||
+ | $gBuildingWorldX \\ | ||
+ | $gBuildingWorldY \\ | ||
+ | $gBuildingInvestment \\ | ||
+ | $gBuildingEfficiency \\ | ||
+ | $gBuildingScore \\ | ||
+ | $gBuildingType \\ | ||
+ | $gTargetBuildingNum \\ | ||
+ | $gBuildingDamage \\ | ||
+ | $gBuildingTeam \\ | ||
+ | $gBuildingCapacity \\ | ||
+ | $gBuildingSpaceRemaining \\ | ||
'' | '' | ||
- | **Building access**\\ | + | ==== Server Status ==== |
- | '' | + | '' |
- | gBuildingAccessNum \\ | + | $gNumPlayersOnline\\ |
- | gBuildingScriptParam \\ | + | $gGameDay |
- | gBuildingX \\ | + | $gGameTime |
- | gBuildingY \\ | + | $gNumTowns |
- | gBuildingCode \\ | + | $gTotalMoneySupply |
- | gBuildingOwnerID \\ | + | $gGlobalAverageWealth |
- | gBuildingNumEmployees \\ | + | $gNumAlive |
- | gBuildingMaxEmployees | + | $gEventWorldX |
- | gBuildingSalePrice | + | $gEventWorldY |
- | gBuildingWage | + | $gClickX |
- | gBuildingWorldX | + | $gClickY |
- | gBuildingWorldY | + | |
- | gBuildingInvestment | + | |
- | gBuildingEfficiency | + | |
- | gBuildingScore | + | |
- | gBuildingType | + | |
- | gTargetBuildingNum | + | |
- | gBuildingDamage | + | |
- | gBuildingTeam | + | |
'' | '' | ||
- | **Server Status**\\ | + | ==== Tasking interface ==== |
- | '' | + | '' |
- | gNumPlayersOnline\\ | + | $gTaskItem2 |
- | gGameDay | + | $gTaskItem3 |
- | gGameTime | + | '' |
- | gEventWorldX | + | |
- | gEventWorldY | + | ==== Combat Players ==== |
+ | '' | ||
+ | $gKilledID | ||
+ | $gTargetID | ||
'' | '' | ||
- | **Combat Players**\\ | + | ==== Player User-details ==== |
- | '' | + | '' |
- | gKilledID | + | $gPlayerIsMember |
- | gTargetID | + | $gPlayerUsage |
'' | '' | ||
- | **Player User-details**\\ | + | ==== Battle system ==== |
- | '' | + | '' |
- | gPlayerIsMember | + | $gBattleStat1 \\ |
- | gPlayerUsage | + | $gBattleStat2 |
+ | $gBattleStat3 | ||
+ | $gBattleStat4 | ||
'' | '' | ||
scripting/reference/system_values.1580256948.txt.gz · Last modified: 2020/01/28 18:15 by 51.148.136.100