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/02/04 13:24] – mit | 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 | ||
'' | '' | ||
- | **Building access**\\ | + | ==== Buildings ==== |
- | '' | + | '' |
- | gBuildingAccessNum \\ | + | $gBuildingAccessNum \\ |
- | gBuildingScriptParam \\ | + | $gBuildingScriptParam \\ |
- | gBuildingX \\ | + | $gBuildingX \\ |
- | gBuildingY \\ | + | $gBuildingY \\ |
- | gBuildingCode \\ | + | $gBuildingCode \\ |
- | gBuildingOwnerID \\ | + | $gBuildingOwnerID \\ |
- | gBuildingNumEmployees \\ | + | $gBuildingNumEmployees \\ |
- | gBuildingMaxEmployees \\ | + | $gBuildingMaxEmployees \\ |
- | gBuildingSalePrice \\ | + | $gBuildingSalePrice \\ |
- | gBuildingWage \\ | + | $gBuildingWage \\ |
- | gBuildingWorldX \\ | + | $gBuildingWorldX \\ |
- | gBuildingWorldY \\ | + | $gBuildingWorldY \\ |
- | gBuildingInvestment \\ | + | $gBuildingInvestment \\ |
- | gBuildingEfficiency \\ | + | $gBuildingEfficiency \\ |
- | gBuildingScore \\ | + | $gBuildingScore \\ |
- | gBuildingType \\ | + | $gBuildingType \\ |
- | gTargetBuildingNum \\ | + | $gTargetBuildingNum \\ |
- | gBuildingDamage \\ | + | $gBuildingDamage \\ |
- | gBuildingTeam \\ | + | $gBuildingTeam |
+ | $gBuildingCapacity \\ | ||
+ | $gBuildingSpaceRemaining \\ | ||
+ | |||
+ | '' | ||
+ | ==== Server Status ==== | ||
+ | '' | ||
+ | $gNumPlayersOnline\\ | ||
+ | $gGameDay \\ | ||
+ | $gGameTime \\ | ||
+ | $gNumTowns \\ | ||
+ | $gTotalMoneySupply \\ | ||
+ | $gGlobalAverageWealth \\ | ||
+ | $gNumAlive \\ | ||
+ | $gEventWorldX \\ | ||
+ | $gEventWorldY \\ | ||
+ | $gClickX \\ | ||
+ | $gClickY | ||
'' | '' | ||
- | **Server Status**\\ | + | ==== Tasking interface ==== |
- | '' | + | '' |
- | | + | $gTaskItem2 |
- | | + | $gTaskItem3 |
- | | + | |
- | gEventWorldX | + | |
- | gEventWorldY | + | |
'' | '' | ||
- | **Combat Players**\\ | + | ==== Combat Players |
- | '' | + | '' |
- | gKilledID \\ | + | $gKilledID \\ |
- | gTargetID \\ | + | $gTargetID \\ |
'' | '' | ||
- | **Player User-details**\\ | + | ==== Player User-details |
- | '' | + | '' |
- | gPlayerIsMember \\ | + | $gPlayerIsMember \\ |
- | gPlayerUsage \\ | + | $gPlayerUsage \\ |
'' | '' | ||
- | **Battles**\\ | + | ==== Battle system ==== |
- | '' | + | '' |
- | gBattleStat1 \\ | + | $gBattleStat1 \\ |
- | gBattleStat2 \\ | + | $gBattleStat2 \\ |
- | gBattleStat3 \\ | + | $gBattleStat3 \\ |
- | gBattleStat4 \\ | + | $gBattleStat4 \\ |
'' | '' | ||
scripting/reference/system_values.1580844251.txt.gz · Last modified: 2020/02/04 13:24 by mit