ACS: Difference between revisions

From Zandronum Wiki
(It's no longer incomplete I think)
Tag: Source edit
(Add new scoreboard funcs)
Tag: Source edit
Line 31: Line 31:
* <code>[[GetCurrentGameMode]]</code>
* <code>[[GetCurrentGameMode]]</code>
* <code>[[GetCurrentMapPosition]]</code> {{Devfeature|3.2|alpha}}
* <code>[[GetCurrentMapPosition]]</code> {{Devfeature|3.2|alpha}}
* <code>[[GetCustomPlayerValue]]</code> {{Devfeature|3.2|alpha}}
* <code>[[GetEventResult]]</code> {{Devfeature|3.2|alpha}}
* <code>[[GetEventResult]]</code> {{Devfeature|3.2|alpha}}
* <code>[[GetDBEntries]]</code>
* <code>[[GetDBEntries]]</code>
Line 65: Line 66:
* <code>[[PlayerTeam]]</code>
* <code>[[PlayerTeam]]</code>
* <code>[[RequestScriptPuke]]</code>
* <code>[[RequestScriptPuke]]</code>
* <code>[[ResetCustomDataToDefault]]</code> {{Devfeature|3.2|alpha}}
* <code>[[ResetMap]]</code>
* <code>[[ResetMap]]</code>
* <code>[[SendNetworkString]]</code>
* <code>[[SendNetworkString]]</code>
* <code>[[SetActivatorToPlayer]]</code>
* <code>[[SetActivatorToPlayer]]</code>
* <code>[[SetCurrentGameMode]]</code>
* <code>[[SetCurrentGameMode]]</code>
* <code>[[SetCustomPlayerValue]]</code> {{Devfeature|3.2|alpha}}
* <code>[[SetDBEntry]]</code>
* <code>[[SetDBEntry]]</code>
* <code>[[SetDBEntryString]]</code>
* <code>[[SetDBEntryString]]</code>

Revision as of 14:02, 13 June 2023

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

Deprecated

These functions are deprecated. They still work, but will be removed eventually. It is recommended you use more up to date functions.

Related Articles