User Tools

Site Tools


scripting:reference:system_functions:fullfunctionlist

This is an old revision of the document!


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 (Construction)
sysGetBuildingTypeName (Construction)
sysGetBuyPrice (Building Info)
sysGetConstructionMaterialsAmount (Construction)
sysGetCrowFlagState (Misc)
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 (Construction)
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

scripting/reference/system_functions/fullfunctionlist.1580302643.txt.gz · Last modified: 2020/01/29 06:57 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki