User Tools

Site Tools


scripting:reference:system_functions:fullfunctionlist

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 (Player)
sysGetBuildingName (Building Info)
sysGetBuildingAtWorldPos (World)
sysGetBuildingTypeBasePrice (Construction)
sysGetBuildingTypeName (Construction)
sysGetBuyPrice (Building Info)
sysGetConstructionMaterialsAmount (Construction)
sysGetStaticFlagState (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 (Player)
sysGetPlayerName (Text)
sysGetPriceText (Text)
sysGetRealTimeTextForDays (Text)
sysGetSecondaryConstructionPrice (Construction)
sysGetSellPrice (Building Info)
sysGetSkillName (Text)
sysGetSkillNum (Text)
sysGetTextEntry (OSD)
sysGetTileCenter (World)
sysGetTopPlayer (Player)
sysGetTimeText (Text)
sysIsBuildingPositionValid (Construction)
sysIsInBuildZone (Construction)
sysIsInNoBuildZone (Construction)
sysIsInScriptZone (World)
sysIsInSpawnZone (Player)
sysIsPlayerIDOnline (Player)
sysMapToWorld (World)
sysMaxAmountInStocks (Building Info)
sysNumPlayersInBuildZone (World)
sysNumPlayersInRCMode (World)
sysNumPlayersInScriptZone (World)
sysNumPlayersOnTeam (Player)
sysNumPlayersWithPlayerVarVal (Player)
sysPlayerGetNumBuildingsOfType (Building Ownership)
sysPlayerGetNearestOwnedBuildingOfType (Building Ownership)
sysPlayerGetOwnedBuilding (Building Ownership)
sysPlayerIsInTown (Player)
sysPlayerInventory (Inventory)
sysPlayerIsLearningSkill (Player)
sysPlayerSkillLevel (Player)
sysRaceIsActive (Misc)
sysRand (Maths)
sysRealTime (Misc)
sysRemoveWealth (Inventory)
sysSetStaticFlagState (Misc)
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

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

scripting/reference/system_functions/fullfunctionlist.txt · Last modified: 2023/04/15 08:03 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