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.
Did a few tests in FSX-Accell. Same problem.Thanks!
I see, it must be hardcoded.
<PartInfo>
<Name>TEST_REC</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(L:testrec, bool) 10 *
</Code>
<Lag>50</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<CallbackCode>(L:testrec, bool) ! (>L:testrec, bool)
(L:testrec, flags) 0 > if{ 1 (>K:SMOKE_ON) } els { 1 (>K:SMOKE_OFF) }
</CallbackCode>
</MouseRect>
</PartInfo>

<PartInfo>
<Name>osprey0514</Name>
<Visibility>
<Parameter>
<Code>(A:AVIONICS MASTER SWITCH, bool) 1 == if{ (A:SMOKE ENABLE:11, bool) }</Code>
</Parameter>
</Visibility>
</PartInfo>
Yes, but I ment something else as "tip":Hi Rob, thanks for your answer!
I don't get your tip: the .fx effect is anyways in the [SmokeSystem] tag, so whatever i recall it, no matter of what switch type, it doesn't work with engines off.
Get what i mean?
"condition"
if{ 1 (>K:SMOKE_ON) }
els{ 1 (>K:SMOKE_OFF) }
"condition"
if{ (A:SMOKE ENABLE:1,bool) ! if { 1 (>K:SMOKE_ON) } }
els{ (A:SMOKE ENABLE:1,bool) if{ 1 (>K:SMOKE_OFF) } }
(L:testrec, flags) 0 > if{ 1 (>K:SMOKE_ON) } els { 1 (>K:SMOKE_OFF) }
Hi Maryadi,I don't understand your purpose using smoke, but I do work with smoke variable. it always work with or without engine ON.
this sample
Code:<PartInfo> <Name>osprey0514</Name> <Visibility> <Parameter> <Code>(A:AVIONICS MASTER SWITCH, bool) 1 == if{ (A:SMOKE ENABLE:11, bool) }</Code> </Parameter> </Visibility> </PartInfo>
Exactly ...oh... ok, I didn't use any fx file when using smoke variable. it for visibility and animation model. thanks Rob for clarification