Walker; fix duplicate parachute and spoiler/speedbrake keyboard by making it conditional on the view
This commit is contained in:
parent
28fbda2e2a
commit
dcc4f1ede5
1 changed files with 18 additions and 0 deletions
|
@ -310,11 +310,29 @@
|
|||
<name>j</name>
|
||||
<desc>open parachute</desc>
|
||||
<repeatable>false</repeatable>
|
||||
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>sim/current-view/name</property>
|
||||
<value>Walk View</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>sim/current-view/name</property>
|
||||
<value>Walker Orbit View</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>walk.open_chute()</script>
|
||||
</binding>
|
||||
<binding n="1">
|
||||
<command>nasal</command>
|
||||
<script>controls.stepSpoilers(-1)</script>
|
||||
</binding>
|
||||
</key>
|
||||
|
||||
<key n="119">
|
||||
<name>w</name>
|
||||
<desc>Walk forward</desc>
|
||||
|
|
Loading…
Add table
Reference in a new issue