Intro
There are two types of group prefabs:
- /Groups/DynamicFaction/..
- /Groups/
They have one big difference from the Dynamic Faction ones there is this field populated:
And on the other ones is the prefab field populated:
How to use the Prefabs:
- You can always ignore the SpawnManager with the checkbox: “IgnoreSpawnManagerAndUSePrefabs”
- If there is no SpawnManager at all it will fallback to using the prefabs only
Pro:
- You can always spawn the same faction doesn’t matter which it set on the SpawnManager
- Great for making Civil Cities
Contra:
- You can not change there faction to spawn on runtime
How to use the Dynamic Faction:
- Make sure this checkbox is not set: “IgnoreSpawnManagerAndUSePrefabs”
- Make sure you have a SpawnManager in the Scene
Pro:
- You can change which faction it should spawn in realtime
- You can have server settings that would allow the player to choose which side they wanna play your mission on
Contra:
- It does not despawn the Ais to spawn new ones if you change the cation on runtime so do it before it get triggered.