Scud 0 Posted July 19, 2004 As in the radar dish thats spins continuously can I stop it mid animation then start it again. Without using setobjtextures! Share this post Link to post Share on other sites
orson 0 Posted July 19, 2004 Well i dont think Radar dishes etc can be stoped , they work by setting the amount of revolutions very high so that to the observer it rotates all the time. *edit*allthough To get it to stop i spose just set the number lower , or find out the name of the anim involved and set it to 0 in the editor . Then to restart set the anim to 1 . please correct me if i am wrong folks Share this post Link to post Share on other sites
Footmunch 0 Posted July 19, 2004 To stop it in the exact place where it is: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_object animate["animationname", (_object animationphase "animationname")] To start it again: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_object animate["animationname", 0] _object animate["animationname", 1] Share this post Link to post Share on other sites
Scud 0 Posted August 23, 2004 Quote[/b] ]_object animate["animationname", (_object animationphase "animationname")] Cant seem to get this to work. Problem is I have animation wired to the engine of vehicle. Engine starts, animation starts. Engine stops the animation spins back until the origional start posi. instead of stopping where it is. Share this post Link to post Share on other sites
edejl 0 Posted August 23, 2004 As another way, coudln't you just make the radar spin yourself? I mean set the axis in the centre and then it would spin on that axis as a radar dish does, and then keep it going until Stop Radar is selected on Action menu...see what I mean, thats just a quick thought though. Share this post Link to post Share on other sites
Scud 0 Posted August 24, 2004 It's not a radar edejl, thats just to explain what type of animation I am inquizzing about. This animation I need full control of thru the vehicle's engine its not a free spinning object. I think setobjecttexture is looking the way, though I am sure it is quite possible to do what I want. I hate spending too much time nutting out scripts (not my first pick for leisure time activities) Share this post Link to post Share on other sites
Footmunch 0 Posted August 24, 2004 Scud - Is the selection that's being animated also a part of vrtule (or any other anim)? If so, you can't 'get' the phase of a built-in animation like that, sadly. More details are required  Share this post Link to post Share on other sites
Scud 0 Posted August 24, 2004 Prop on boat Probably easy way Share this post Link to post Share on other sites
Footmunch 0 Posted August 24, 2004 Have you tried adding a standard 'vrtule' to the model? If it's defined in CfgModels, it may work along with the boat engine. If not, then you'll probably have to do some spin-up/spin-down scripting: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_boat = this select 0 _phase = _boat animationphase "prop" _count =1 #SpinDown _phase = _phase + (0.01 / _count) _boat animate["prop", _phase] _count = _count + 1 ~.05 ?(_count < 30) : goto "SpinDown" exit Share this post Link to post Share on other sites
Scud 0 Posted August 24, 2004 Will try both, thanx Just figured 'vrtule' was plane class only. bugger can't get vrtule to work Share this post Link to post Share on other sites