Group and Global AI: Factions - Lumberyard User Guide

Group and Global AI: Factions

Example: AI formations of different factions

Place on a map three grunts of the following factions. Note who is hostile to who.

  • grunts

  • assassins

  • civilians

For example:

<Factions> <Faction name = "Players"> <Reaction faction- "Grunts" reaction="hostile"/> <Reaction faction- "Civilians" reaction="friendly"/> <Reaction faction- "Assassins" reaction="hostile"/> </Faction> <Faction name="Civilians default="neutral"/> ... </Factions>

(see Game/Scripts/AI/Factions.xml)