cookiedoughnexus Posted April 6, 2023 Share Posted April 6, 2023 Hello there, I am working on a mod again or at least planning on doing so but I don't seem to find a function in order to find out if a certain object has an forward animation attached to it. Does such an function exist or do you know some kind of workaround? Link to comment Share on other sites More sharing options...
RomanR Posted April 7, 2023 Share Posted April 7, 2023 I can think only of using GetSpecialAnims and then various checks in filenames for "forward" and "fastforward" words. Still, it will be enough for basic check only, you will even don't know if it's toggled on. Link to comment Share on other sites More sharing options...
qwertyasdfgh Posted April 7, 2023 Share Posted April 7, 2023 (edited) For actors, you can use FileExists to check if specific .kf file is present. For objects, where animation is embedded in nif file itself it gets kinda tricky. I don't thinks there is a function to directly check file contents (maybe NifSE plugin has something, but it's not easy to use).What I would do is just call PlayGroup on object and then check with IsAnimPlaying a frame later if it's actually playing any animation. Edited April 7, 2023 by qwertyasdfgh Link to comment Share on other sites More sharing options...
cookiedoughnexus Posted April 11, 2023 Author Share Posted April 11, 2023 What I would do is just call PlayGroup on object and then check with IsAnimPlaying a frame later if it's actually playing any animation.That is actually what I did.Thank you both! :happy: Link to comment Share on other sites More sharing options...
Recommended Posts