User Tools

Site Tools


4rpl:commands:getbuildunit

This is an old revision of the document!


Index

:!: Available in version 1.X and later.

GetBuildUnit

GetBuildUnit ->selectBuildUnit

Description

When building a unit, returns the string for the unit's type. For custom units, the string is the CMOD GUID. For built in units it is the unit name. If no unit is being built, an empty string is returned.

Examples

print(GetBuildUnit)

Index

4rpl/commands/getbuildunit.1615252417.txt.gz · Last modified: 2021/03/08 20:13 by virgilw