title: How do I remove all equipment from a unit in SQF?
body: <p>Say I have a unit <code>_unit</code> in Arma 3. How do I remove all its equipment so that the only thing remaining is its uniform?</p>
  
  <p>So far, I have been using</p>
  
  <pre><code>removeAllItemsWithMagazines _unit;
  {player removeWeaponGlobal _x} forEach weapons _unit;
  removeBackpackGlobal _unit;
  removeVest _unit;
  </code></pre>
  
  <p>but I am not sure this removes everything.</p>
  
  <p>Notice that <em>everything</em> here includes the map, compass, watch and gps.</p>