Skip to content

UnitObjectTagsSettings

14.2

Uncategorized - no domain claims this class yet. Categorize

Class Documentation

Edit documentation

The game-wide list of unit tag names. It gives each unit tag its bit in the 64-bit masks that the engine builds for every ObjectTags set and for every unit's own tags.

The engine uses the object of this class that was created last. The game ships one, in the global data.

The list becomes active in one step of the loading screen. Tag sets that loaded earlier are resolved in that step, and tag sets that load later are resolved at once.

Properties

SpellTags

List2<Hash> = []
14.15
Edit documentation

Hashes of spell tag names. No client code that reads this list was found.

UnitTags

List2<String> = []
Edit documentation

The unit tag names. The position of a name in the list is its bit in a resolved mask: the first name is bit 0.

When the object is loaded, the engine hashes each name in lowercase. A tag set or a CharacterRecord.unitTagsString matches a name through that hash, so the match ignores letter case.