ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:getportname

This is an old revision of the document!


Table of Contents

GetPortName

str GetPortName()

Description

Returns the name of the port the mod is being played in.

Possible return values are:

  • "ZDoom"
  • "GZDoom"
  • "Zandronum"

For a description of how ports are identified, see IdentifySourcePort.

Examples

print(s:"You are playing this mod in ", s:GetPortName());
functions/getportname.1489782079.txt.gz · Last modified: 2017/03/17 22:21 by korshun