lep/jassdoc

ForUnitsOfType has some quirks that are worth documenting

Cokemonkey11 opened this issue · 1 comments

From wurst docs:

Executes the given closure for every unit of the given type. Remember that names of custom units are "custom_[typeId]"

The name for original unit type comes from the name column in the units/unitui.slk. For custom units it's "custom_" + fourcc, e.g., "custom_h000", yes. The same mechanism is used in CreateUnitByName and GetPlayerTypedUnitCount.