ACS: Difference between revisions

From Zandronum Wiki
No edit summary
No edit summary
Line 66: Line 66:
These functions are '''deprecated'''. They still work, but will be removed eventually. It is recommended you use more up to date functions.
These functions are '''deprecated'''. They still work, but will be removed eventually. It is recommended you use more up to date functions.


* [[BlueCount]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>BlueCount</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[BlueScore]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>BlueScore</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[GetTeamScore]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>GetTeamScore</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[Music_Change]] {{Template:DeprecatedLink|<code>{{zdoomwiki|SetMusic}}</code>}}
* <code>Music_Change</code> {{Template:DeprecatedLink|<code>{{zdoomwiki|SetMusic}}</code>}}
* [[RedCount]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>RedCount</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[RedScore]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>RedScore</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[SinglePlayer]] {{Template:DeprecatedLink|<code>[[GameType]]</code>}}
* <code>SinglePlayer</code> {{Template:DeprecatedLink|<code>[[GameType]]</code>}}
* [[BlueTeamCount]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>BlueTeamCount</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[BlueTeamScore]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>BlueTeamScore</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[RedTeamCount]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>RedTeamCount</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* [[RedTeamScore]] {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
* <code>RedTeamScore</code> {{Template:DeprecatedLink|<code>[[GetTeamProperty]]</code>}}
 
==Old Functions==
These are old, defunct functions. They do not compile, and even if they did, they do nothing.
 
* '''PlayerBlueSkull'''
* '''PlayerYellowSkull'''
* '''PlayerRedSkull'''
* '''PlayerBlueCard'''
* '''PlayerYellowCard'''
* '''PlayerRedCard'''


== Related Articles ==
== Related Articles ==

Revision as of 16:38, 21 August 2016

This is an incomplete list of Zandronum-only ACS functions. See here for a list of ZDoom-supported ACS functions. Note that not all of them are supported by Zandronum.

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.


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

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