Player & AI Shared Control of Pawn

How would I implement shared control of a pawn between the player and the AI? In other words, I want to create a pawn with a certain level of autonomy while still being able to be controlled by the player. Something along the lines of The Sims or another RTS game.

You can use BehaviorTree along with your current Character, when you want to let AI take over, just disable Input to Character, then let BehaviorTree tell your Character what to do.

I currently use BehaviorTree to control Character to look at random interest point when i move him moving around.

Thanks Duncan!