And how in pray tell would that be accomplished? Could you lend an
example in the SDK for me to haggle over?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Reedbeta
Sent: Friday, January 04, 2002 1:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Items.cpp (MyTouch)


--- omega <[EMAIL PROTECTED]> wrote:
> you can still use findentityinsphere.
> thats what
> entity->IsPlayer() is for.
> so you can distinguish between them.

Of course you can, but the method I used seems cleaner, faster, and less
error-prone to me.  BTW I forgot to mention in my previous email that if
you want to affect only the players in a 600-unit radius, you need to
add a distance check just before you do the traceline, so you don't
waste time doing tracelines for players that are too far away.

---Reedbeta

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online! http://greetings.yahoo.com
_______________________________________________
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