===== System Function List ===== sysActivateBuildingProximityEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysActivateBuildingProximityEvent|World]])\\ sysActivateLocalProximityEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysActivateLocalProximityEvent|World]])\\ sysActivateRangeEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysActivateRangeEvent|World]])\\ sysAddBackgroundModels ([[Scripting:Reference:system_functions:MiscFunctions#sysAddBackgroundModels|Misc]])\\ sysAddBuilding ([[Scripting:Reference:system_functions:ConstructionFunctions#sysAddBuilding|Construction]])\\ sysAddBuildingWorld ([[Scripting:Reference:system_functions:ConstructionFunctions#sysAddBuildingWorld |Construction]])\\ sysAddLocalBackgroundModel ([[Scripting:Reference:system_functions:MiscFunctions#sysAddLocalBackgroundModel|Misc]])\\ sysAddToInventory ([[Scripting:Reference:system_functions:PlayerInventoryAndWealthFunctions#sysAddToInventory|Inventory]])\\ sysAddWealth ([[Scripting:Reference:system_functions:PlayerInventoryAndWealthFunctions#sysAddWealth|Inventory]])\\ sysAmountInStocks ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysAmountInStocks|Building Info]])\\ sysBuildingActivateStockroom ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysBuildingActivateStockroom|Building Info]]) \\ sysBuildingActivateBuyItem ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysBuildingActivateBuyItem|Building Info]])\\ sysBuildingActivateSetPrices ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysBuildingActivateSetPrices|Building Info]])\\ sysBuildingActivateSellItem ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysBuildingActivateSellItem|Building Info]])\\ sysBuildingActivateEmployeeList ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysBuildingActivateEmployeeList|Building Info]])\\ sysConstructBuilding ([[Scripting:Reference:system_functions:ConstructionFunctions#sysConstructBuilding|Construction]])\\ sysCos ([[Scripting:Reference:system_functions:MathsFunctions#sysCos|Maths]])\\ sysDeactivateBuildingProximityEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysDeactivateBuildingProximityEvent|World]])\\ sysDeactivateLocalProximityEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysDeactivateLocalProximityEvent|World]])\\ sysDeactivateRangeEvent ([[Scripting:Reference:system_functions:WorldMapFunctions#sysDeactivateRangeEvent|World]])\\ sysDeleteLocalBackgroundModel ([[Scripting:Reference:system_functions:MiscFunctions#sysDeleteLocalBackgroundModel|Misc]])\\ sysDeleteAllLocalBackgroundModels ([[Scripting:Reference:system_functions:MiscFunctions#sysDeleteAllLocalBackgroundModels|Misc]])\\ sysGenerateTopPlayerVarsList ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysGenerateTopPlayerVarsList|Player]])\\ sysGetBuildingName ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysGetBuildingName|Building Info]])\\ sysGetBuildingAtWorldPos ([[Scripting:Reference:system_functions:WorldMapFunctions#sysGetBuildingAtWorldPos|World]])\\ sysGetBuildingTypeBasePrice ([[Scripting:Reference:system_functions:ConstructionFunctions#sysGetBuildingTypeBasePrice|Construction]])\\ sysGetBuildingTypeName ([[Scripting:Reference:system_functions:ConstructionFunctions#sysGetBuildingTypeName |Construction]])\\ sysGetBuyPrice ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysGetBuyPrice|Building Info]])\\ sysGetConstructionMaterialsAmount ([[Scripting:Reference:system_functions:ConstructionFunctions#sysGetConstructionMaterialsAmount|Construction]])\\ sysGetStaticFlagState ([[Scripting:Reference:system_functions:MiscFunctions#sysGetStaticFlagState|Misc]])\\ sysGetDateText ([[Scripting:Reference:system_functions:TextFunctions#sysGetDateText|Text]])\\ sysGetDist ([[Scripting:Reference:system_functions:MathsFunctions#sysGetDist|Maths]])\\ sysGetEmployeeID ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysGetEmployeeID|Building Info]])\\ sysGetExportPrice \\ sysGetInventoryItemIndex ([[Scripting:Reference:system_functions:PlayerInventoryAndWealthFunctions#sysGetInventoryItemIndex|Inventory]])\\ sysGetItemName ([[Scripting:Reference:system_functions:TextFunctions#sysGetItemName|Text]])\\ sysGetItemNum ([[Scripting:Reference:system_functions:TextFunctions#sysGetItemNum|Text]])\\ sysGetMaxJobs ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysGetMaxJobs|Building Info]])\\ sysGetNearestForest ([[Scripting:Reference:system_functions:WorldMapFunctions#sysGetNearestForest|World]])\\ sysGetNearestTown ([[Scripting:Reference:system_functions:TownFunctions#sysGetNearestTown|Towns]])\\ sysGetNearestPlayer ([[Scripting:Reference:system_functions:WorldMapFunctions#sysGetNearestPlayer|World]])\\ sysGetPlayerID ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysGetPlayerID|Player]])\\ sysGetPlayerListScore ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysGetPlayerListScore|Player]])\\ sysGetPlayerName ([[Scripting:Reference:system_functions:TextFunctions#sysGetPlayerName|Text]])\\ sysGetPriceText ([[Scripting:Reference:system_functions:TextFunctions#sysGetPriceText|Text]])\\ sysGetRealTimeTextForDays ([[Scripting:Reference:system_functions:TextFunctions#sysGetRealTimeTextForDays|Text]])\\ sysGetSecondaryConstructionPrice ([[Scripting:Reference:system_functions:ConstructionFunctions#sysGetSecondaryConstructionPrice|Construction]])\\ sysGetSellPrice ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysGetSellPrice|Building Info]])\\ sysGetSkillName ([[Scripting:Reference:system_functions:TextFunctions#sysGetSkillName|Text]])\\ sysGetSkillNum ([[Scripting:Reference:system_functions:TextFunctions#sysGetSkillNum|Text]])\\ sysGetTextEntry ([[scripting:reference:scriptedosd#sysGetTextEntry|OSD]])\\ sysGetTileCenter ([[Scripting:Reference:system_functions:WorldMapFunctions#sysGetTileCenter|World]])\\ sysGetTopPlayer ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysGetTopPlayer|Player]])\\ sysGetTimeText ([[Scripting:Reference:system_functions:TextFunctions#sysGetTimeText|Text]])\\ sysIsBuildingPositionValid ([[Scripting:Reference:system_functions:ConstructionFunctions#sysIsBuildingPositionValid |Construction]])\\ sysIsInBuildZone ([[Scripting:Reference:system_functions:ConstructionFunctions#sysIsInBuildZone|Construction]])\\ sysIsInNoBuildZone ([[Scripting:Reference:system_functions:ConstructionFunctions#sysIsInNoBuildZone|Construction]])\\ sysIsInScriptZone ([[Scripting:Reference:system_functions:WorldMapFunctions#sysIsInScriptZone|World]])\\ sysIsInSpawnZone ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysIsInSpawnZone|Player]])\\ sysIsPlayerIDOnline ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysIsPlayerIDOnline|Player]])\\ sysMapToWorld ([[Scripting:Reference:system_functions:WorldMapFunctions#sysMapToWorld|World]])\\ sysMaxAmountInStocks ([[Scripting:Reference:system_functions:BuildingInformationFunctions#sysMaxAmountInStocks|Building Info]])\\ sysNumPlayersInBuildZone ([[Scripting:Reference:system_functions:WorldMapFunctions#sysNumPlayersInBuildZone|World]])\\ sysNumPlayersInRCMode ([[Scripting:Reference:system_functions:WorldMapFunctions#sysNumPlayersInRCMode|World]])\\ sysNumPlayersInScriptZone ([[Scripting:Reference:system_functions:WorldMapFunctions#sysNumPlayersInScriptZone|World]])\\ sysNumPlayersOnTeam ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysNumPlayersOnTeam|Player]])\\ sysNumPlayersWithPlayerVarVal ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysNumPlayersWithPlayerVarVal|Player]])\\ sysPlayerGetNumBuildingsOfType ([[Scripting:Reference:system_functions:PlayerBuildingOwnershipFunctions#sysPlayerGetNumBuildingsOfType|Building Ownership]])\\ sysPlayerGetNearestOwnedBuildingOfType ([[Scripting:Reference:system_functions:PlayerBuildingOwnershipFunctions#sysPlayerGetNearestOwnedBuildingOfType|Building Ownership]])\\ sysPlayerGetOwnedBuilding ([[Scripting:Reference:system_functions:PlayerBuildingOwnershipFunctions#sysPlayerGetOwnedBuilding|Building Ownership]])\\ sysPlayerIsInTown ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysPlayerIsInTown|Player]])\\ sysPlayerInventory ([[Scripting:Reference:system_functions:PlayerInventoryAndWealthFunctions#sysPlayerInventory|Inventory]])\\ sysPlayerIsLearningSkill ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysPlayerIsLearningSkill|Player]])\\ sysPlayerSkillLevel ([[Scripting:Reference:system_functions:PlayerStatusFunctions#sysPlayerSkillLevel|Player]])\\ sysRaceIsActive ([[Scripting:Reference:system_functions:ConstructionFunctions#sysRaceIsActive|Misc]])\\ sysRand ([[Scripting:Reference:system_functions:MathsFunctions#sysRand|Maths]])\\ sysRealTime ([[Scripting:Reference:system_functions:ConstructionFunctions#sysRealTime|Misc]])\\ sysRemoveWealth ([[Scripting:Reference:system_functions:PlayerInventoryAndWealthFunctions#sysRemoveWealth|Inventory]])\\ sysSetStaticFlagState ([[Scripting:Reference:system_functions:ConstructionFunctions#sysSetStaticFlagState|Misc]])\\ sysSin ([[Scripting:Reference:system_functions:MathsFunctions#sysSin|Maths]])\\ sysTownGetNumBuildingsOfType ([[Scripting:Reference:system_functions:TownFunctions#sysTownGetNumBuildingsOfType|Towns]])\\ sysTownGetRelationship ([[Scripting:Reference:system_functions:TownFunctions#sysTownGetRelationship|Towns]])\\ sysWorldGetNumBuildingsOfType ([[Scripting:Reference:system_functions:WorldMapFunctions#sysWorldGetNumBuildingsOfType|World]])\\ sysWorldToMap ([[Scripting:Reference:system_functions:WorldMapFunctions#sysWorldToMap|World]])\\ ===== Subgame Functions ===== For more details see [[Scripting:reference:system_functions:SubgameFunctions|Subgame Functions Reference]] SubgameActivatePlayerListScores \\ SubgameActivateScoreboard \\ SubgameActivateUI \\ SubgameChallengeGetPlayer \\ SubgameDecrementStat \\ SubgameEventAll \\ SubgameEventTeam \\ SubgameGetHighestPlayerListScore \\ SubgameGetNumPlayers \\ SubgameGetNumPlayersOnTeam \\ SubgameGetPlayer \\ SubgameGetPlayerWithPlayerListScore \\ SubgameGetScore \\ SubgameGetStat \\ SubgameGetTimerRemaining \\ SubgameIncrementScore \\ SubgameIncrementStat \\ SubgameIsPlayerInGame \\ SubgameJoin \\ SubgameKillTimer \\ SubgameLeave \\ SubgameMessageAll \\ SubgameMessageTeam \\ SubgameNumPlayersWithPlayerListScore \\ SubgameRegisterEvent \\ SubgameReset \\ SubgameSetScore \\ SubgameSetStat \\ SubgameSetTimer \\ SubgameSoundAll \\ SubgameSoundTeam \\ SubgameWebpostDuelScore \\ ==== Script control functions ===== For more details see [[scripting:reference:special_system_control_functions|System control functions]] CancelTransaction \\ CustomEvent \\ PlayerTaskStartSetTime \\ RestoreContext \\ SetContext \\ SetBuildingContext \\ Sleep \\ sysArraySize \\ sysDeleteTimer \\ sysSetTimer \\ ==== Entity scripting ===== EntityCreate \\ SetEntityContext \\ EntityAddToWorld \\ EntitySetPosition \\ EntitySetRotation \\ EntitySetModel \\ EntitySetAnimation \\ EntityMoveTo \\ EntitySetBehaviour \\ EntityDelete \\ EntityDeleteAll \\ EntityCommandCode \\ EntitySetValue \\ EntitySetControlFlag \\ EntityActivateUpdateEvent \\ EntitySetGraphics \\ ===== Misc other & (probably) deprecated functions ===== BattleSendChallenge \\ sysPrizeRoundGetEndTime \\ sysPrizeRoundGetConditionParam \\ sysPrizeRoundIsActive \\