Element data
Each element that is loaded is able to have element data values attached to it. These are values that can be accessed using a keyword string and directly correspond to the element's attributes in the map file. Element data is a good way to store information you want associated with an element, for example you could use it to associate a score with a player, or a team with a vehicle.
Relevant functions
- Template:SetElementData - Set an element data value
- Template:GetElementData - Retrieve an element data value