ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


version_information

This is an old revision of the document!


Retrieving ACSUtils version

ACSUtils exposes its version as numeric constants and as a string. E.g. ACSUtils 1.8.0 will define the following constants:

#define ACSUTILS_VERSION_MAJOR 1
#define ACSUTILS_VERSION_MINOR 8
#define ACSUTILS_VERSION_PATCH 0

ACSUtilsVersion

str ACSUtilsVersion()

Returns ACSUtils version as a string, e.g. “1.8.0”. This is a function instead of a constant because ACS doesn't support string constants.

Example usage

print(s:"This mod is using ACSUtils ", s:ACSUtilsVersion());
version_information.1555797785.txt.gz · Last modified: 2019/04/21 01:03 by korshun