class Animations
{
class gate
{
type="rotation";
animPeriod=1
selection="gate";
axis="osa_gate";
angle0=0
angle1=-1.600000;
};
};
class UserActions
{
class OpenDoors
{
displayName="$STR_DN_OUT_O_DOOR";
position="osa_gate";
radius=2.500000;
condition="this animationPhase ""gate"" < 0.5";
statement="this animate [""gate"", 1]";
};
class CloseDoors
{
displayName="$STR_DN_OUT_C_DOOR";
position="osa_gate";
radius=2.500000;
condition="this animationPhase ""gate"" >= 0.5";
statement="this animate [""gate"", 0]";
};
};
};
"gate" is the name of the door you want to move...
"osa_gate" is the name of the pivot (memory points)...