WraithSlayer Posted July 27, 2015 Posted July 27, 2015 I'm using a OffsetCarryMQ201DrinkTray idle on the player with the PlayIdle() function, which includes a a tray with a few cups on it. I can apply the idle to the player just fine, but I can't seem to find a way of ending the idle via script. I've already tried Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState") which does reset to the default idle stance, but the character keeps holding the tray on one hand. How do I end the idle properly?
Guest Posted July 27, 2015 Posted July 27, 2015 Check if the idle has an "ending idle", if yes, then just send the ending idle. E.g. theActor.playIdle(layDownStarting) Utility.wait(10.0) theActor.playIdle(layDownEnd) If the ending idle does not exist, then you can force a different idle (that has no anim objects), and then stop it by sending the animation event IdleForceDefaultState. Another useful animation event you can try is Debug.SendAnimationEvent(theActor, "IdleStop_LOOSE")
WraithSlayer Posted July 27, 2015 Author Posted July 27, 2015 Another useful animation event you can try is Debug.SendAnimationEvent(theActor, "IdleStop_LOOSE") That one doesn't seem to stop the idle at all. I'll try the other suggested methods, though.
Guest Posted July 27, 2015 Posted July 27, 2015 IdleStop_LOOSE in some case works and in some doesn't. I don't really know why, but it is easy to test. It works with the bathe idles with the soap (and the soap is a super-sticky anim object that is never removed...)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.