User Tools

Site Tools


4rpl:commands:setunitbuildlimit

Index

:!: Available in version 1.3 and later.

SetUnitBuildLimit

SetUnitBuildLimit(<-unitType <-unitBuildLimit)

Description

Sets the build limit for the specified unit type. Set to -1 (or any negative number) to remove the unit build limit. The only types that are supported are the built in unit types that the player can build, and custom units. See GetUnitType. For custom units, specify the CMod GUID for the type.

Examples

SetUnitBuildLimit("sniper" 10)

Index

4rpl/commands/setunitbuildlimit.txt · Last modified: 2021/01/31 21:21 by Karsten75