[frl]myke 15 Posted June 26, 2009 Hi all, i wonder if it is possible to get access to animation source data from a script. With anmation sources i mean those which are usually used in the model.cfg to animate parts of a model. I.e. to make an animated horizon, sources would be horizonBank and horizonDive. Full list of animation sources can be found here: http://community.bistudio.com/wiki/Model_Config I know, some can be covered with scripting commands, like for the above example vectorDir and vectorUp. But there are some that can't be catched this way, source "rpm" is such a candidate. So is there a way to read out easily the values of these sources? Share this post Link to post Share on other sites
t_d 47 Posted June 26, 2009 If you have an object that has an animation using the wanted source, it should be possible to read out the state with animationPhase command. Share this post Link to post Share on other sites
UNN 0 Posted June 28, 2009 (edited) I know, some can be covered with scripting commands, like for the above example vectorDir and vectorUp. But there are some that can't be catched this way, source "rpm" is such a candidate.So is there a way to read out easily the values of these sources? Edit: Scratch what I just said, you have to use the animation class name from model.cfg: Player SideChat Format ["Phase %1",_vehicle AnimationPhase "IndicatorRPM"] Edited June 28, 2009 by UNN Share this post Link to post Share on other sites