# Enemy Character Not chasing pawn

**URL:** <https://forums.unrealengine.com/t/enemy-character-not-chasing-pawn/1856355>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [May 14, 2024, 10:16pm UTC](https://forums.unrealengine.com/t/enemy-character-not-chasing-pawn/1856355 "2024-05-14T22:16:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EasyModeAlex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/easymodealex/32/636235_2.png) [@EasyModeAlex](https://forums.unrealengine.com/u/EasyModeAlex)\
**Post date:** [May 14, 2024, 10:16pm UTC](https://forums.unrealengine.com/t/enemy-character-not-chasing-pawn/1856355/1 "2024-05-14T22:16:19Z")

</div>

![enemy_bp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/4/1349da2005f47a628ccc272164b73979c95bb50f.png)  
 ![enemy_bt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/b/12bedd1111ed68f855513a85c157f69ad63f17c7.png)  
 ![enemy_controller1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/a/53ad452964c74869102a85b598fc7769025612cf.png)

Hi,

I am following along in a Unreal Book and so far, everything is working except that when the enemy character sees the third person character (player), the enemy doesn’t chase (or AttackPlayer in the BT). Instead, it just keeps moving to the patrol points. I’ve attached pictures for references, thanks.

---

<div class="post-metadata">

**Author:** ![EasyModeAlex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/easymodealex/32/636235_2.png) [@EasyModeAlex](https://forums.unrealengine.com/u/EasyModeAlex)\
**Post date:** [May 14, 2024, 10:18pm UTC](https://forums.unrealengine.com/t/enemy-character-not-chasing-pawn/1856355/2 "2024-05-14T22:18:27Z")

</div>

![bt_keys](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/7/b0717ac83f1a72b108591380ab54d9c4b97fb929.png)  
And one more picture for the BT Keys for the Can See Player decorator.

Solution: I did not update the variable name

 ![playerkeyname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/5/ee558519a6214ae0cb788406c6f8f4231bde4e08.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 13, 2024, 10:19pm UTC](https://forums.unrealengine.com/t/enemy-character-not-chasing-pawn/1856355/3 "2024-06-13T22:19:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
