Well what I'd like to do is restrict certain areas so that only one
team can enter them. I have these areas set up with their own
collision group. It would be easiest to just check the GetTeamNumber()
of the player that collides with the brush.

I tried doing this by defining COLLISION_GROUP_PLAYER_BLUE and
COLLISION_GROUP_PLAYER_RED, assigning those collision groups to
players of that team. In the newer ShouldCollide function, whenever I
see one of those collision groups, I pass it off to the base class,
but test against COLLISION_GROUP_PLAYER instead, so it still treats
the player as it should.

Any better ways to do this?

--Bob




On Sun, Sep 27, 2009 at 4:47 PM, Jorge Rodriguez <[email protected]> wrote:
> The functionality probably wasn't taken out without adding another way to do
> it. What are you trying to do?
>
> --
> Jorge "Vino" Rodriguez
> _______________________________________________
> 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