MCPcopy Create free account
hub / github.com/DruidMech/UE5_TheUltimateDeveloperCourse / ChaseTarget

Method ChaseTarget

Source/Slash/Private/Enemy/Enemy.cpp:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void AEnemy::ChaseTarget()
237{
238 EnemyState = EEnemyState::EES_Chasing;
239 GetCharacterMovement()->MaxWalkSpeed = ChasingSpeed;
240 MoveToTarget(CombatTarget);
241}
242
243bool AEnemy::IsOutsideCombatRadius()
244{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected