# Spaceship turret with it's own AI

**URL:** <https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559>\
**Category:** AI\
**Tags:** socket-reference, unreal-engine, UE4, pawn, Blueprint, question\
**Created:** [August 27, 2018, 2:06pm UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559 "2018-08-27T14:06:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evertoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Post date:** [August 27, 2018, 2:06pm UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559/1 "2018-08-27T14:06:45Z")

</div>

Hi  
I’d like to create a spaceship with turrets that target other spaceships. each turret with its own Sense component

 ![251703-40131352-445316815957319-824975845041897472-n.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/a/bdac03e98ac7b59b9fed454368edb5da68470a91.png)

It works fine, the turret can see the target, and rotate, but when i attach it to a socket, it’s not doing anything

 ![251704-140158603-2395007204060293-959098963502301184-n.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/e/94ee6dff61f4fd1afe61908ec3a271618ca65fe9.png)

How could I make this work

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 27, 2018, 3:04pm UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559/2 "2018-08-27T15:04:41Z")

</div>

Can you make another screenshot with “SpawnActor Turret Base” node expanded?

I suspect that your turret is not possessed by an AI and this might prevent the sense component from working.

---

<div class="post-metadata">

**Author:** ![Evertoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Post date:** [August 27, 2018, 3:14pm UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559/3 "2018-08-27T15:14:18Z")

</div>

![251708-240133610-1298517886957337-2135569413015863296-n.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/d/99d5ca0831616bf5eb11c3e754d5aa7f48ead0f2.png)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 27, 2018, 9:57pm UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559/4 "2018-08-27T21:57:58Z")

</div>

Sorry about that… I got mixed up in the attachments.

---

<div class="post-metadata">

**Author:** ![Evertoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evertoo](https://forums.unrealengine.com/u/Evertoo)\
**Post date:** [August 30, 2018, 7:04am UTC](https://forums.unrealengine.com/t/spaceship-turret-with-its-own-ai/432559/5 "2018-08-30T07:04:09Z")

</div>

Any idea how to make this work?
