TAG

TAG (tag), probably deduced from the lexical English word: tag, is an alpha-numeric string of characters which is used to mark several entity in maps belonging together semanticly. Most times, they are assaigned by the mapper to let the machine select multiple MIDs easyly or to create variable properties for selection of individual entity.

TAG and MID
In contrast to the MID property, TAGs can be assaigned to every entity. On the other hand: MIDs are static numeral strings where TAGs can be added to an entity, removed from an entity and they are able to handle both numbers and letters. TAGs can be assaigned to multiple entity at the time or can be defined without being used, in contrast to MIDs. They even can be applied to entity which do not have an MID number (such as buildings, plants, etc.). Another advantage: It is up to the user what name the TAG has got and how many tags the entity has got. The disadvantage: They have to defined before they are usable. This might take much time and spelling mistakes might cost several hours to locate.

Using Gem-Editor interface
TAGs have to be assaigned in a special editor menu: the TAG-Box ( + or press  to view the entity menu, then click on Tags). Into the input-box now enter the name of the TAG you want to add and press or click on the OK-button.

Using Script
Go to MISSION-Editor mode (hotkey: ) and switch to trigger mode (hotkey: ). Now create a new trigger (right click on the field at the top and select add..., then enter a custom trigger name and hit the OK-button). Choose the command (bottom field) entity_state in entity -folder and fill in the TAG you want to add into the field tag_add. After that, toggle off inactive, choose an actor and confirm your action.

The TAG "hidden"
The the TAG name "hidden" has a special effect. It hides the parent entity in game until it has been removed by a trigger.