ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


acsutils_version

This is an old revision of the document!


Get 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());
acsutils_version.1566842429.txt.gz · Last modified: 2019/08/26 21:00 by korshun