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.
<MouseRect>
<Cursor>...</Cursor>
<TooltipText>Ejection Seat: %((L:Ejection Seat Arming, bool))%{if}READY!%{else}Locked!</TooltipText>
<CallbackCode>
...
</CallbackCode>
</MouseRect>
<Area Left="0" Right="20" Top="0" Bottom="20">
<Cursor Type="Hand"/>
<Click Repeat="Yes">
...
</Click>
<Tooltip>This is a tooltip</Tooltip>
</Area>
<MouseArea>
<FloatPosition>0.000,0.000</FloatPosition>
<Size>20,20</Size>
<CursorType>Hand</CursorType>
<MouseClick>
<Script>
...
</Script>
<ClickType>LeftSingle</ClickType>
</MouseClick>
<Tooltip>This is a tooltip</Tooltip>
</MouseArea>
<Code>
(L:ExecuteOnStartup,bool) !
if{
5561496 (>L:My Custom Variable, number)
1 (>L:ExecuteOnStartup,bool)
}
</Code>
<Animation name="Vanship_Binoculars" guid="bd6edd22-18fd-4b78-cdcd-8dd58c494af1" type="Sim" typeParam="AutoPlay" length="200" typeParam2="Vanship_Binoculars" />
<PartInfo>
<Name>Vanship_Binoculars</Name>
<AnimLength>200</AnimLength>
<Animation>
<Parameter>
<Code>(L:Binoculars Open, bool) 200 *</Code>
</Parameter>
<Lag>50</Lag>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Binoculars are %((L:Binoculars Open, bool))%{if}unfolded%{else}folded</TooltipText>
<CallbackCode>
(L:Binoculars Open, bool) ! (>L:Binoculars Open, bool)
</CallbackCode>
</MouseRect>
</PartInfo>
<TooltipText>Binoculars are %((L:Binoculars Open, bool))%{if}unfolded%{else}folded%{end}</TooltipText>
I think the tooltip needs to be:
Code:<TooltipText>Binoculars are %((L:Binoculars Open, bool))%{if}unfolded%{else}folded%{end}</TooltipText>
Nope. C: indicates that it is a simulator variable. L: does not mean "local" but are instead "custom XML variables." Local variables are G: type.Well, there's been progress:
First thing that (I thing) was wrong, was parameter type letter. I was using L:Binoculars Open, which would be a local parameter.
<Code>1 (>L:Binoculars Open, bool) 1 200 *</Code>