ACS
(Redirected from ACS Functions)
This is a list of Zandronum-only ACS functions and extensions. See here for a list of ZDoom-supported ACS functions.
For a list of all the ACS functions supported by Zandronum, click here.
Features
Zandronum supports databases, powered by SQLite.
Script types
EVENT
scripts are executed when specific game events occur.
There are additional script types that can be appended to regular script types:
NET
scripts are server-side and can be executed by clients using the puke command.CLIENTSIDE
scripts client-side and can not be executed by the puke command.NET CLIENTSIDE
scripts are client-side and can be executed by the puke command.
It is worth reading Clientside Scripting if you intend on using CLIENTSIDE scripts.
ACS Functions
AddBot
(development version 3.2-alpha and above only)AnnouncerSound
BanFromGame
(development version 3.2-alpha and above only)BeginDBTransaction
ChangeTeamScore
(development version 3.2-alpha and above only)CloseMenu
(development version 3.2-alpha and above only)ConsoleCommand
ConsolePlayerNumber
CountDBResults
EndDBTransaction
ExecuteClientScript
FreeDBResults
GameType
GetActorSectorLocation
(development version 3.2-alpha and above only)GetChatMessage
GetCurrentGameMode
GetCustomPlayerValue
(development version 3.2-alpha and above only)GetEventResult
(development version 3.2-alpha and above only)GetDBEntries
GetDBEntry
GetDBEntryRank
GetDBEntryString
GetDBResultKeyString
GetDBResultValue
GetDBResultValueString
GetGameModeState
GetInvasionState
GetInvasionWave
GetMapPosition
(development version 3.2-alpha and above only)GetMapRotationInfo
GetMapRotationSize
GetPlayerAccountName
GetPlayerChasecam
GetPlayerCountry
(development version 3.2-alpha and above only)GetPlayerJoinQueuePosition
(development version 3.2-alpha and above only)GetPlayerLivesLeft
GetPlayerScore
GetPlayerSkin
(development version 3.2-alpha and above only)GetPlayerStatus
(development version 3.2-alpha and above only)GetTeamProperty
GetTimeProperty
GivePlayerMedal
(development version 3.2-alpha and above only)IncrementDBEntry
InDemoMode
IsMultiplayer
IsOneFlagCTF
KickFromGame
LumpOpen
(development version 3.2-alpha and above only)LumpRead
(development version 3.2-alpha and above only)LumpReadArray
(development version 3.2-alpha and above only)LumpReadString
(development version 3.2-alpha and above only)LumpGetInfo
(development version 3.2-alpha and above only)LumpClose
(development version 3.2-alpha and above only)NamedExecuteClientScript
NamedRequestScriptPuke
NamedSendNetworkString
OpenMenu
(development version 3.2-alpha and above only)Player_SetTeam
PlayerArmorpoints
PlayerHealth
PlayerIsLoggedIn
PlayerIsSpectator
PlayerTeam
RemoveBot
(development version 3.2-alpha and above only)RequestScriptPuke
ResetCustomDataToDefault
(development version 3.2-alpha and above only)ResetMap
SendNetworkString
SetActivatorToPlayer
SetCurrentGameMode
SetCustomPlayerValue
(development version 3.2-alpha and above only)SetDBEntry
SetDBEntryString
SetDeadSpectator
SetGameModeLimit
SetGameplaySetting
(development version 3.2-alpha and above only)SetNextMapPosition
(development version 3.2-alpha and above only)SetPlayerChasecam
SetPlayerClass
SetPlayerLivesLeft
SetPlayerScore
SetPlayerSkin
(development version 3.2-alpha and above only)SetPlayerWeaponZoomFactor
(development version 3.2-alpha and above only)SkipJoinQueue
(development version 3.2-alpha and above only)SortDBEntries
Strftime
SystemTime
Team_GivePoints
Team_Score
Deprecated
These functions are deprecated. They still work, but will be removed eventually. It is recommended you use more up to date functions.
BlueCount
(deprecated, seeGetTeamProperty
)BlueScore
(deprecated, seeGetTeamProperty
)GetTeamScore
(deprecated, seeGetTeamProperty
)Music_Change
(deprecated, seeSetMusic
)RedCount
(deprecated, seeGetTeamProperty
)RedScore
(deprecated, seeGetTeamProperty
)SinglePlayer
(deprecated, seeGameType
)BlueTeamCount
(deprecated, seeGetTeamProperty
)BlueTeamScore
(deprecated, seeGetTeamProperty
)RedTeamCount
(deprecated, seeGetTeamProperty
)RedTeamScore
(deprecated, seeGetTeamProperty
)