This is an old revision of the document!
−Table of Contents
System Function List
sysActivateBuildingProximityEvent (World)
sysActivateLocalProximityEvent (World)
sysActivateRangeEvent (World)
sysAddBackgroundModels (Misc)
sysAddBuilding (Construction)
sysAddBuildingWorld (Construction)
sysAddLocalBackgroundModel (Misc)
sysAddToInventory (Inventory)
sysAddWealth (Inventory)
sysAmountInStocks (Building Info)
sysBuildingActivateStockroom (Building Info)
sysBuildingActivateBuyItem (Building Info)
sysBuildingActivateSetPrices (Building Info)
sysBuildingActivateSellItem (Building Info)
sysBuildingActivateEmployeeList (Building Info)
sysConstructBuilding (Construction)
sysCos (Maths)
sysDeactivateBuildingProximityEvent (World)
sysDeactivateLocalProximityEvent (World)
sysDeactivateRangeEvent (World)
sysDeleteLocalBackgroundModel (Misc)
sysDeleteAllLocalBackgroundModels (Misc)
sysGenerateTopPlayerVarsList
sysGetBuildingName (Building Info)
sysGetBuildingAtWorldPos (World)
sysGetBuildingTypeBasePrice
sysGetBuildingTypeName (Construction)
sysGetBuyPrice (Building Info)
sysGetConstructionMaterialsAmount (Construction)
sysGetCrowFlagState
sysGetDateText (Text)
sysGetDist (Maths)
sysGetEmployeeID (Building Info)
sysGetExportPrice
sysGetInventoryItemIndex (Inventory)
sysGetItemName (Text)
sysGetItemNum (Text)
sysGetMaxJobs (Building Info)
sysGetNearestForest (World)
sysGetNearestTown (Towns)
sysGetNearestPlayer (World)
sysGetPlayerID (Player)
sysGetPlayerListScore
sysGetPlayerName (Text)
sysGetPriceText (Text)
sysGetRealTimeTextForDays (Text)
sysGetSecondaryConstructionPrice
sysGetSellPrice (Building Info)
sysGetSkillName (Text)
sysGetSkillNum (Text)
sysGetTextEntry
sysGetTileCenter (World)
sysGetTopPlayer
sysGetTimeText (Text)
sysIsBuildingPositionValid (Construction)
sysIsInBuildZone (Construction)
sysIsInNoBuildZone (Construction)
sysIsInScriptZone
sysIsInSpawnZone (Player)
sysIsPlayerIDOnline (Player)
sysMapToWorld (World)
sysMaxAmountInStocks
sysNumPlayersInBuildZone
sysNumPlayersInRCMode
sysNumPlayersInScriptZone
sysNumPlayersOnTeam (Player)
sysNumPlayersWithPlayerVarVal
sysPlayerGetNumBuildingsOfType (Building Ownership)
sysPlayerGetNearestOwnedBuildingOfType (Building Ownership)
sysPlayerGetOwnedBuilding (Building Ownership)
sysPlayerIsInTown (Player)
sysPlayerInventory (Inventory)
sysPlayerIsLearningSkill (Player)
sysPlayerSkillLevel (Player)
sysPrizeRoundGetEndTime
sysPrizeRoundGetConditionParam
sysPrizeRoundIsActive
sysRaceIsActive (Misc)
sysRand (Maths)
sysRealTime (Misc)
sysRemoveWealth (Inventory)
sysSetCrowFlagState
sysSin (Maths)
sysTownGetNumBuildingsOfType (Towns)
sysTownGetRelationship (Towns)
sysWorldGetNumBuildingsOfType (World)\\
sysWorldToMap (World)
Subgame Functions
For more details see 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 System control functions
CancelTransaction
CustomEvent
PlayerTaskStartSetTime
RestoreContext
SetContext
SetBuildingContext
Sleep
sysArraySize
sysDeleteTimer
sysSetTimer
Misc other function categories
BattleSendChallenge
EntityCreate
SetEntityContext
EntityAddToWorld
EntitySetPosition
EntitySetRotation
EntitySetModel
EntitySetAnimation
EntityMoveTo
EntitySetBehaviour
EntityDelete
EntityDeleteAll
EntityCommandCode
EntitySetValue
EntitySetControlFlag
EntityActivateUpdateEvent
EntitySetGraphics