--
[ Picked text/plain from multipart/alternative ]
Are you sure you're getting the attachment on the viewmodel and not the
world model?
On 9/13/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> I have a weapon, where I want it to spark from the muzzle.
>
> In the code I have
>
> Vector origin;
> QAngles angles;
> GetAttachment(LookupAttachment("muzzle") , origin, angles);
> g_pEffects->Sparks(origin);
>
>
> It sparks in the middle of the screen, and not where it should.
>
> Any help would be appreciated.
>
> Thanks - Michael Kramer
> --
>
> _______________________________________________
> 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