Use generic int instead of bool for firing

This commit is contained in:
Rudolf339 2021-04-16 00:17:46 +02:00
parent a0acd76464
commit 77af8226a5
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
<object-name>muzzle_UR</object-name>
<condition>
<property>/sim/rendering/shaders/skydome</property><!-- als -->
<property>sim/multiplay/generic/bool[0]</property><!-- gun firing -->
<property>sim/multiplay/generic/int[1]</property><!-- gun firing -->
</condition>
</animation>

View File

@ -109,11 +109,11 @@
<multiplay>
<generic>
<int n="0" type="int">0</int>
<int n="1" type="int" alias="/controls/armament/trigger"/>
<float n="0" type="double">0</float> <!-- Turret azimuth -->
<float n="1" type="double">0</float> <!-- gun elevation -->
<float n="2" type="double">0</float> <!-- radar azimuth -->
<float n="3" type="double">0</float> <!-- radar elevation -->
<bool n="0" type="bool" alias="/controls/armament/trigger"/>
</generic>
</multiplay>