Jump to content

How do I make an actor stand up?


Halstrom

Recommended Posts

Posted

I want to add a function into my script make an actor who has sat on a chair stand up when resting is complete?
I can't seem to fins an "UnSit" function

Posted

You can assign a different package to stop using the furniture.

Or you can send the IdleForceDefaultState event that will immediately break the furniture animation.

Posted

Ok I tried this but it wont compile, Unknown Function Error, and I can't find it in the wiki either.
 

PlayerRef.IdleForceDefaultState()

 

Posted
12 hours ago, Halstrom said:

Ok I tried this but it wont compile, Unknown Function Error, and I can't find it in the wiki either.
 


PlayerRef.IdleForceDefaultState()

 

 

ActorREF.PlayIdleAction(ActionInteractionExit)

 

That should make the target actor use the exit animation appropriate to the furniture they are currently in. Remember to add the Action Property (ActionInteractionExit).

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...