Hey, I actually was trying to use Valve's NPC muzzle flashes for now.
I tried the Airboat Gun and the Chopper Muzzle flash and both were rendered at the same attachment. I am now trying a g_pEffects->MuzzleFlash() with the origin and angles being passed in generated from an attachment lookup. Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Baker Sent: Friday, July 11, 2008 1:48 PM To: [email protected] Subject: Re: [hlcoders] Muzzle Flash Effect playing at wrong attachment If you're calling DispatchEffect("MuzzleFlash",data) then it always plays on attachment #1. Just look at the DECLARE_CLIENT_EFFECT function for whatever effect you are using. There are 2 versions of tempents->MuzzleFlash() and one of them takes origin/angles (but ignores them in favor of attachment #1) while the other takes an attachment point. -- Tim Baker _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

