Unity RTS Engine

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

NPC Building Creator

The NPC Building Creator is responsible for the creation of buildings.

When creating a new NPC Manager object using the RTS Engine menu. The NPC Building Creator is a component of the new NPC Manager’s “NPCBuildingManagers” child object.

  1. Independent Buildings: Drag and drop the building prefabs that you want the NPC faction to create (expect the buildings that will be used as population or center buildings). If the NPC Manager that this component belongs to is supposed to be used for different NPC types or different faction types then you can have buildings that play for those different types in this list because they will be filtered once this component is initialized (meaning only the buildings that fit the faction type and NPC type will be activated and used by the NPC faction). Make sure that buildings in this list have their regulator data correctly defined.

How can we help?