# How active a NPC behavior of a pawn if I unpossess him?

**URL:** <https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 22, 2015, 2:25pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722 "2015-02-22T14:25:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0599cf61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0599cf61](https://forums.unrealengine.com/u/anonymous_user_0599cf61)\
**Post date:** [February 22, 2015, 2:25pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/1 "2015-02-22T14:25:39Z")

</div>

Like in LEGO games or Dishonored when you possess a NPC he lose the behavior and you control him…how i can return to my original body and make them start to being controlled by a AI?

---

<div class="post-metadata">

**Author:** ![zamy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zamy](https://forums.unrealengine.com/u/zamy)\
**Post date:** [February 22, 2015, 2:36pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/2 "2015-02-22T14:36:25Z")

</div>

Prior to possessing him, save his controller (AI) somewhere, when you want to release it, make his old controller possess him again.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0599cf61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0599cf61](https://forums.unrealengine.com/u/anonymous_user_0599cf61)\
**Post date:** [February 22, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/3 "2015-02-22T17:43:31Z")

</div>

Got it…i will test it soon!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0599cf61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0599cf61](https://forums.unrealengine.com/u/anonymous_user_0599cf61)\
**Post date:** [February 23, 2015, 6:55pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/4 "2015-02-23T18:55:37Z")

</div>

Can you post a screenshot? I want to know how you do this.

---

<div class="post-metadata">

**Author:** ![lonerider543](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lonerider543](https://forums.unrealengine.com/u/lonerider543)\
**Post date:** [February 23, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/5 "2015-02-23T19:52:07Z")

</div>

Hey,

on a very simple scale I believe it would be something like this:

 ![30859-possesspawn.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/4/5/b451d6ea91e99817ffc312fd791d58ac76e68c6c.jpeg)

`AIController` is a variable with the variable type `Controller`.

`PlayerCharacter` is a variable with the variable type `Character`.

I got nothing to test this on, so I am not 100% certain whether this will work.

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [February 18, 2022, 10:32pm UTC](https://forums.unrealengine.com/t/how-active-a-npc-behavior-of-a-pawn-if-i-unpossess-him/307722/6 "2022-02-18T22:32:49Z")

</div>

Answer to problem with Actor freeze in air on unpossess.

> [@Why does an unpossessed Character stops movement?](https://forums.unrealengine.com/t/why-does-an-unpossessed-character-stops-movement/14940/6):
>
> The problem with the last listed solution is that it will still slightly pause the movement. Say, if your character is falling and you do this; they’ll pause for a second in the air and then begin falling again. I’ve found an even more elegant solution to this problem. There’s a Boolean in the CharacterMovement component called ‘Run Physics No Controller’, by setting this to True it will solve the problem.
