Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

[COLOR="blue"][B]<part>
<name>helo_gunner_turret</name>
<animation>
<parameter>
<code>
(A:GENERAL ENG COMBUSTION) 1 ==
if{
(>L:HeloGunTurretOne,bool)
}
els{ 0 }
</code>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<Tooltip_Text>Gunners Turret</Tooltip_Text>
<mouse_flags>LeftSingle+LeftDrag</mouse_flags>
<callback_code>
(A:GENERAL ENG COMBUSTION) 1 ==
if{
(>L:HeloGunTurretOne,bool)
}
els{ 0 }
</callback_code>
</mouserect>
</part> [/B][/COLOR]
[COLOR="Red"][B]Alternative Callback code section[/B][/COLOR]
[COLOR="Blue"][B] <callback_code>
(L:HeloGunTurretOne,bool) ! (>L:HeloGunTurretOne,bool)
</callback_code>[/B][/COLOR]
[COLOR="Red"][B]This version below has Tick18[/B][/COLOR]
[COLOR="blue"][B]<part>
<name>helo_gunner_turret</name>
<animation>
<parameter>
<code>
(A:GENERAL ENG COMBUSTION) 1 ==
if{
(>K:TICK18,bool)
}
els{ 0 }
</code>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<Tooltip_Text>Gunners Turret</Tooltip_Text>
<mouse_flags>LeftSingle+LeftDrag</mouse_flags>
<callback_code>
(A:GENERAL ENG COMBUSTION) 1 ==
if{
(>K:TICK18,bool)
}
els{ 0 }
</callback_code>
</mouserect>
</part> [/B][/COLOR]

Hey Jakes,
Easy enough. You would have a basic if/els condition that would perhaps be based on engine combustion. If you cant write one, let me know and I think I can write one up for you.
<part>
<name>Tick18_Gun01</name>
<AnimLength>100</AnimLength>
<animation>
<parameter>
<code>
if{(A:GENERAL ENG RPM, percent) 1 >
els { 0 }
</code>
<lag>50</lag>
</parameter>
</animation>
</part>


Jakes,
If that doesnt turn off the turret's Tick18 animation (which I dont think it will), then you could create a set of conditional appearences of separate turrets. One would appear when the engine is off, doesnt move. One moves (and appears) when the engine starts up.

<!-- code that turn out turret - 100 keyframe animation -->
<part>
<name>Gun_Optics</name>
<animation>
<parameter>
<code>
(L:turret, number) 100 *
</code>
<lag>50</lag>
</parameter>
</animation>
</part>
<!-- code that trigger the visibility at key 100 -->
<part>
<name>Animate_optics</name>
<Visibility>
<parameter>
<code>
(L:turret, number) 100 *
</code>
</parameter>
<minvalue>100</minvalue>
</Visibility>
</part>

<part>
<name>ave_adjustable_colum</name>
<animation>
<parameter>
<code>
(L:AVE INITIALIZED,bool) 0 ==
if{
40 (>L:AVEadjustableCOLUM, number)
1 (>L:AVE INITIALIZED,bool)
}
100 (L:AVEadjustableCOLUM, number) -
</code>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<Tooltip_Text>Adjust Steering Colum</Tooltip_Text>
<mouse_flags>LeftSingle+LeftDrag</mouse_flags>
<callback_code>
(M:Event) 'LeftSingle' scmp 0 ==
if{
100 (M:Y) - (>L:aveColumMOUSEPOS, number)
quit
}
(M:Event) 'LeftDrag' scmp 0 ==
if{
100 (M:Y) - (L:aveColumMOUSEPOS,number) - 0.5 * (L:AVEadjustableCOLUM, number) + 0 max 100 min (>L:AVEadjustableCOLUM, number)
100 (M:Y) - (>L:aveColumMOUSEPOS,number)
}
</callback_code>
</mouserect>
</part>

[COLOR="Blue"]
<part>
<name>Optic_animater</name>
<visible_in_range>
<parameter>
<code>
(A:TAILHOOK POSITION,percent) 99 >
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>
<part>
<name>Static_optics</name>
<visible_in_range>
<parameter>
<code>
(A:TAILHOOK POSITION,percent) 99 <
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part> [/COLOR]
