'Doh, that's what I get for stopping in the middle of stuff. Thanks a ton,
will go try it when I get home.

On Wed, Oct 8, 2008 at 9:30 AM, Tony Sergi <[EMAIL PROTECTED]> wrote:

> Well, you got up to if (!pWeapon) break; but you didn't dispatch the
> muzzleflash on the weapon there, as you missed the next two lines that
> actually dispatch the third person muzzle, and terminate the call so the
> first person one doesn't go through.
>
>
> -Tony
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt
> Hoffman
> Sent: October-08-08 10:15 AM
> To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] Muzzle flash issue
>
> The Event code for OB now looks like this. (This is after applying
> Tony's
> code)
> http://pastebin.ca/1222734
>
> On Wed, Oct 8, 2008 at 6:51 AM, Jonas 'Sortie' Termansen
> <[EMAIL PROTECTED]>wrote:
>
> > Your code just checks if there is a local player. (Always true)
> >
> > Try compare the owner of the weapon with the local player.
> >
> > ----- Original Message -----
> > From: "Luke Smith" <[EMAIL PROTECTED]>
> > To: "Discussion of Half-Life Programming"
> <[email protected]
> > >
> > Sent: Wednesday, October 08, 2008 2:02 PM
> > Subject: Re: [hlcoders] Muzzle flash issue
> >
> >
> > > What does the event code look like in OB? or is that what you
> updated
> > with
> > > what was posted earlier?
> > >
> > > on another note I got the eject brass to work but it ejects brass
> from my
> > > gun when the enemy fires. How can I do a check to see if it is being
> used
> > > by
> > > the local player?
> > >
> > > I was trying this but it didnt work:
> > >
> > >
> > > C_BasePlayer *player = C_BasePlayer::GetLocalPlayer();
> > >
> > > if ( player )
> > > _______________________________________________
> > > 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
> >
> >
> _______________________________________________
> 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
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to