Bottom Section

Actually the command wants the currentMuzzle (gunner _vehicle) as parameter - not the weapon class.
Most of the time both are the same. However when you have custom modes[] for the weapons, this is likely not true.