Halstrom Posted August 22, 2018 Posted August 22, 2018 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
astymma Posted August 22, 2018 Posted August 22, 2018 I would imagine it's just activating it, like: FurnitureREF.Activate(ActorREF)
Guest Posted August 22, 2018 Posted August 22, 2018 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.
Halstrom Posted August 27, 2018 Author Posted August 27, 2018 Ok I tried this but it wont compile, Unknown Function Error, and I can't find it in the wiki either. PlayerRef.IdleForceDefaultState()
Carabosse Posted August 27, 2018 Posted August 27, 2018 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).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.