Howto:Adding gun effects: Difference between revisions

Jump to navigation Jump to search
Line 142: Line 142:
       <command>nasal</command>
       <command>nasal</command>
       <script>
       <script>
        setprop("/controls/armament/trigger", 1); #this seems the most common
        setprop("/controls/armament/trigger", 1); #this seems the most common
setprop("ai/submodels/trigger", 1);       #many planes use this instead    
        setprop("ai/submodels/trigger", 1);       #many planes use this instead
       </script>
       </script>
     </binding>
     </binding>
Line 150: Line 150:
         <command>nasal</command>
         <command>nasal</command>
       <script>
       <script>
        setprop("/controls/armament/trigger", 0); #this seems the most common
        setprop("/controls/armament/trigger", 0); #this seems the most common
setprop("ai/submodels/trigger", 0);       #many planes use this instead    
        setprop("ai/submodels/trigger", 0);       #many planes use this instead
       </script>
       </script>
       </binding>
       </binding>
482

edits

Navigation menu