Announcement

Collapse
No announcement yet.

Deactivate / destroy AI without destroying pawn?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Deactivate / destroy AI without destroying pawn?

    How can I deactivate my pawns AI controller while leaving the pawn intact so that it can become a ragdoll?

    Right now I am binding on take damage within my AI controller and checking my pawns health, when it drops below a certain level I run a do once and unposses, set behavior tree to none and set destroy actor, however the behavior tree keeps running and gives me errors in the log.

    #2
    Originally posted by nabiul View Post
    How can I deactivate my pawns AI controller while leaving the pawn intact so that it can become a ragdoll?

    Right now I am binding on take damage within my AI controller and checking my pawns health, when it drops below a certain level I run a do once and unposses, set behavior tree to none and set destroy actor, however the behavior tree keeps running and gives me errors in the log.
    Though I haven't done this myself, have you tried simply setting the AI again but this time to none.

    Comment


      #3
      Yes, I've even tried setting it to an empty AI controller. It doesn't deactivate the previous one.

      Comment

      Working...
      X