
 Re: How to make an actor not fire a gun.
Code:
   for i = 1,MovableMan:GetMOIDCount()-1 do
      local gun = MovableMan:GetMOFromID(i)
      if gun.RootID == self.RootID and gun.ClassName == "HDFirearm" then
         ToHDFirearm(gun):Deactivate();
         break;
      end
   end
You don't need the distance check, or move over the 'gun' pointer over to a pointer named 'pointer'. Also, this script for for attaching to the actor holding the gun.