AlertEnemies - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
This tasks allows one enemy to be able to make other enemies enter "Alert" mode. For this purpose, a sphere component is created around the enemy and sets the "Alerted" blackboard variable to true on overlap.
-
Properties:
- AlertSphereRadius: the radius of the sphere used for overlapping other enemies and "alerting" them. - AlertDuration: the amount of time the sphere component lasts.
-
How it works:
- Gets the enemy pawn which is using this task. - Calls the "CreateCapsule" function from the enemy.