Attribute

An Attribute is a Data Type (which hosts number values but has other properties), and is essential to making a good game. It can be hosted by either a Player or specific Entity Type (Unit, Item, or Projectile). There are separate Actions and Functions for them, and there are many Triggers used for Attributes, and there is a Comparison Type used for this. Attributes are great for things like timers, speed, cooldowns, health, mana, or whatever you need.

In Unit Types, there are 2 preset Attributes, Health and Speed, that can be edited but cannot be removed inside the Unit Type editor, only in the Attributes section of the Global Variables section of the Environment.

PRO TIP: While there are Triggers for when an Attribute reaches its MAX value, but there are no Triggers for MINIMUM values. There ARE Triggers for when an Attribute becomes 0 or less than 0.