Unity RTS Engine

  1. Home
  2. Unity RTS Engine
  3. NPC Factions
  4. NPC Army Creator

NPC Army Creator

The NPC Army Creator is responsible for the creation of army units.

When creating a new NPC Manager object using the RTS Engine menu. The NPC Army Creator is a component of the new NPC Manager’s ‘NPCArmyManagers’ child object.

  1. Army Unit Regulators: Drag and drop the NPC Unit Regulator assets that regulate the creation of army units (units with the Attack component).
  2. Force Army Creation: When this field is enabled, this component will increment the value of the minimum amounts of the active instances of the army units regulators until it hits the maximum defined amounts. This will make the NPC faction prioritize the creation of army units.
  3. Force Creation Reload Range (in seconds): How often will this component execute the above behavior (if it is enabled).

How can we help?