Enemies in this example are spread throughout the game. They will detect players moving into a radius and then chase that player until they can attack them or the player moves too far away. Most of an enemy's behavior can be customized by adjusting properties in the scripts on them.
An enemy can be a simple voxel object or a more complex animated NPC. We have examples of both in the game. The bat on the first island is a voxel object that plays different animations depending on what it is doing, while the other enemies are NPC’s.
The scripts that you should look at when configuring an enemy are:
Combat - Enemy Behavior
Combat - Health
Drop Collectables When Killed
Some other scripts you may find useful on enemies are:
Combat - Melee Weapon
Combat - Ranged Weapon
Combat - Health Bar
Flash When Damaged
Blob Shadow
Voxel Object Animation Controller
Voxel Object Animation