- Messages
- 106
- Country
i have a little problem.
i have a switch with a (L. this switch is a trigger for another part.
when i made a mdl, than i read "Animation Triger not found"
code trigger part:
code part:
or/and
what is the problem?
Mijo
i have a switch with a (L. this switch is a trigger for another part.
when i made a mdl, than i read "Animation Triger not found"
code trigger part:
Code:
<part>
<name>switch_fire_nozzle</name>
<animation>
<parameter>
<code>(L:fire_nozzle, enum) 100 *
</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_text>FIRE ATTACK REFILL NOZZLE</tooltip_text>
<callback_code>
(L:fire_nozzle,enum) ! (>L:fire_nozzle,enum)
1 (>L:click,enum)
</callback_code>
</mouserect>
</part>
code part:
Code:
<part>
<name>Fire_parent</name>
<animation>
<parameter>
<code>(L:fire_nozzle, enum) 1 == if{ (>L:fire_nozzle_anim,enum) 100 *}</code>
<lag>200</lag>
</parameter>
</animation>
</part>
or/and
Code:
<part>
<name>Fire_parent</name>
<animation>
<parameter>
<code>(>L:fire_nozzle,enum) 100 *</code>
<lag>200</lag>
</parameter>
</animation>
</part>
what is the problem?
Mijo