brsseb 0 Posted November 9, 2002 Hi I have a custom animaiton on my heli. It works fine when the heli is on the ground, but once it is off the ground (hovering or moving), Im unable to execute the animation from the action menu (it disapears from the menu untill Ive landed again). I have a named selection in primary lod (the structure to be animated) and an axis in Memory LOD. Is it possible to do this? I assume that I have to change something in my configfile. Here is my current animation setup: ... // Animations animated=true; class Animations { class side_door { type="rotation"; animPeriod=2; selection="side_door"; axis="axis_for_side_door"; angle0=0; angle1=-3.0; }; }; class UserActions { class OpenSideDoor { displayName="Open side door"; position="axis_for_side_door"; radius=10; condition="this animationPhase ""side_door"" < 0.5"; statement="this animate [""side_door"", 1]"; }; class CloseSideDoor { displayName="Close side door"; position="axis_for_side_door"; radius=10; condition="this animationPhase ""side_door"" >= 0.5"; statement="this animate [""side_door"", 0]"; }; }; ... Is this possible to fix? I assume it is since its possible to execute the turn on/off lights action when Inflight. But what do I need to change then? brsseb Share this post Link to post Share on other sites
Guest BratZ Posted November 9, 2002 From what I recall reading, this is a known bug.Only conclusion I recall reading was to script it seperately and use it in an addaction script. But I'm not sure Share this post Link to post Share on other sites
brsseb 0 Posted November 9, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (BratZ @ Nov. 09 2002,22:14)</td></tr><tr><td id="QUOTE">From what I recall reading, this is a known bug.Only conclusion I recall reading was to script it seperately and use it in an addaction script. But I'm not sure<span id='postcolor'> Yes, but the standard ofp lights on/off works fine, so why not a user made one? (Looked trough the commended configs and could find the section where vehicle lights are turned off or on. Strange) Also, with the current settup its possible to run the animation from outside the vehicle which looks a bit weird. I want it to only be aviable when one is aboard the chopper. brsseb Share this post Link to post Share on other sites
Guest Posted November 9, 2002 Moving to Addon Config & Scripting Share this post Link to post Share on other sites