Zandronum: ACS
This is an incomplete list of Zandronum-only ACS functions and extensions. See here for a list of ZDoom-supported ACS functions. Note that not all of them are supported by Zandronum.
| Warning: This feature is Skulltag specific, and is not compatible with ZDoom! To see all of Skulltag's specific features, see Skulltag features. |
Script Types
EVENT scripts are executed when specific game events occur.
There are additional script types that can be appended to regular script types:
NETscripts are server-side and can be executed by clients using the puke command.CLIENTSIDEscripts client-side and can not be executed by the puke command.NET CLIENTSIDEscripts are client-side and can be executed by the puke command.
In this example, when someone picks up the enemy item it will start this script on the Client side:
Script 1 PICKUP CLIENTSIDE
{
Print(s:"Someone got the flag!");
}
It is worth reading Clientside Scripting if you intend on using CLIENTSIDE scripts.
ACS Functions
AnnouncerSoundBeginDBTransactionConsoleCommandConsolePlayerNumberCountDBResultsEndDBTransactionFreeDBResultsGameType (Zandronum)GetDBEntriesGetDBEntryGetDBEntryRankGetDBEntryStringGetDBResultKeyStringGetDBResultValueGetDBResultValueStringGetGameModeStateGetInvasionStateGetInvasionWaveGetPlayerAccountNameGetPlayerLivesLeftGetTeamPropertyGetTimeProperty(Dev. 3.0 | 150831-1814)IncrementDBEntryIsNetworkGameIsOneFlagCTFKickFromGameNamedRequestScriptPukePlayerArmorpointsPlayerHealthPlayerIsLoggedInPlayerIsSpectatorPlayerTeamRequestScriptPukeResetMapSetDBEntrySetDBEntryStringSetPlayerLivesLeftSortDBEntriesStrftime(Dev. 3.0 | 150831-1814)SystemTime(Dev. 3.0 | 150831-1814)
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) See:GetTeamPropertyBlueScore(deprecated) See:GetTeamPropertyGetTeamScore(deprecated) See:GetTeamPropertyMusic_Change(deprecated) See:SetMusicRedCount(deprecated) See:GetTeamPropertyRedScore(deprecated) See:GetTeamPropertySinglePlayer(deprecated) See:Zandronum: GameTypeBlueTeamCount(deprecated) See:GetTeamPropertyBlueTeamScore(deprecated) See:GetTeamPropertyRedTeamCount(deprecated) See:GetTeamPropertyRedTeamScore(deprecated) See:GetTeamProperty
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.