Distance Enemy - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
-
AKA ranged enemy. this is an AI that will stand still. and when an enemy comes into its vision, it will take aim and shoot projectiles at them.
-
Properties (these are always subject to change):
- Damage: 1 - Armor: 0 - Health: 6
-
Behaviour:
- 2 behaviour paths: * can see a player * cannot see a player
-
Behaviour - can see a player:
- Obtains the position of its target - Looks in the direction of its target - Spawn a projectile - Waits for 1.5 seconds
-
Behaviour - cannot see a player:
- Waits 1 second
-
Attack Type:
- Ranged attack, spawns a projectile that goes forward - When the player is hit, they will take damage and the projectile is destroyed.