Resets the unit-class instance-name counter of unit-class to its initial value.
Arguments and values
|unit-class||A unit class|
The unit-class instance-name counter of unit-class is reset to the value returned by calling
nil or was
not specified for the unit class, and if there are no existing instances of
that class. If instances do exist and the global instance-name counter is not
being used for the unit class, a warning is issued.
Reset the instance-name counters of all unit classes:
> (reset-unit-class 't) ;; Warning: Unit class standard-space-instance has 4 instances; not reset >Note that a warning was issued when resetting
The GBBopen Project