xax34hah Posted June 25, 2016 Share Posted June 25, 2016 For some reason, rContainer.IsAnimPlaying JumpLand == 1 is true when any animation is playing on rContainer, not only JumpLand. This also happens when other AnimGroups are passed as a parameter. If this help, I'm working with a scripted item, where rContainer is set to GetContainer, and the script loops in gamemode. If anyone knows what is causing this behavior and how to fix it or work around it, please tell me about it Link to comment Share on other sites More sharing options...
rickerhk Posted June 25, 2016 Share Posted June 25, 2016 For some reason, rContainer.IsAnimPlaying JumpLand == 1 is true when any animation is playing on rContainer, not only JumpLand. This also happens when other AnimGroups are passed as a parameter. If this help, I'm working with a scripted item, where rContainer is set to GetContainer, and the script loops in gamemode. If anyone knows what is causing this behavior and how to fix it or work around it, please tell me about itI don't think that IsAnimPlaying works on actors. If you preview an object in the Geck, the left window will list the anim groups that apply to that object. Try IsIdlePlaying for actors. http://geck.bethsoft.com/index.php?title=IsIdlePlaying. If you play a special idle on an actor, this is supposed to detect if a special idle is still playing on that actor. Link to comment Share on other sites More sharing options...
xax34hah Posted June 25, 2016 Author Share Posted June 25, 2016 For some reason, rContainer.IsAnimPlaying JumpLand == 1 is true when any animation is playing on rContainer, not only JumpLand. This also happens when other AnimGroups are passed as a parameter. If this help, I'm working with a scripted item, where rContainer is set to GetContainer, and the script loops in gamemode. If anyone knows what is causing this behavior and how to fix it or work around it, please tell me about itI don't think that IsAnimPlaying works on actors. If you preview an object in the Geck, the left window will list the anim groups that apply to that object. Try IsIdlePlaying for actors. http://geck.bethsoft.com/index.php?title=IsIdlePlaying. If you play a special idle on an actor, this is supposed to detect if a special idle is still playing on that actor. Well, thanks for explaining why that happens. Don't suppose that you happen to know of any way to check if an actor is currently in a jumping state (flying through the air)? Link to comment Share on other sites More sharing options...
rickerhk Posted June 25, 2016 Share Posted June 25, 2016 For some reason, rContainer.IsAnimPlaying JumpLand == 1 is true when any animation is playing on rContainer, not only JumpLand. This also happens when other AnimGroups are passed as a parameter. If this help, I'm working with a scripted item, where rContainer is set to GetContainer, and the script loops in gamemode. If anyone knows what is causing this behavior and how to fix it or work around it, please tell me about itI don't think that IsAnimPlaying works on actors. If you preview an object in the Geck, the left window will list the anim groups that apply to that object. Try IsIdlePlaying for actors. http://geck.bethsoft.com/index.php?title=IsIdlePlaying. If you play a special idle on an actor, this is supposed to detect if a special idle is still playing on that actor.Well, thanks for explaining why that happens. Don't suppose that you happen to know of any way to check if an actor is currently in a jumping state (flying through the air)? The only thing I've seen is this: http://geck.bethsoft.com/index.php?title=GetFallTimeRemainingThough I haven't tried any of the JIP functions yet. Link to comment Share on other sites More sharing options...
xax34hah Posted June 26, 2016 Author Share Posted June 26, 2016 For some reason, rContainer.IsAnimPlaying JumpLand == 1 is true when any animation is playing on rContainer, not only JumpLand. This also happens when other AnimGroups are passed as a parameter. If this help, I'm working with a scripted item, where rContainer is set to GetContainer, and the script loops in gamemode. If anyone knows what is causing this behavior and how to fix it or work around it, please tell me about itI don't think that IsAnimPlaying works on actors. If you preview an object in the Geck, the left window will list the anim groups that apply to that object. Try IsIdlePlaying for actors. http://geck.bethsoft.com/index.php?title=IsIdlePlaying. If you play a special idle on an actor, this is supposed to detect if a special idle is still playing on that actor.Well, thanks for explaining why that happens. Don't suppose that you happen to know of any way to check if an actor is currently in a jumping state (flying through the air)? The only thing I've seen is this: http://geck.bethsoft.com/index.php?title=GetFallTimeRemainingThough I haven't tried any of the JIP functions yet. Apparently rContainer.GetFallTimeElapsed < 0.01 works as "rContainer is not currently airborne". Thanks! :D Link to comment Share on other sites More sharing options...
rickerhk Posted June 26, 2016 Share Posted June 26, 2016 Good to see that helped! Link to comment Share on other sites More sharing options...
Recommended Posts