Simply find out whether the player is one of these characters that see in 
first person, or one of those persons that see in third person. Then use 
that result to set the value of a boolean value that states whether the 
player should see in third person or not. The code would be something like 
this:

bool bThirdPerson = pPlayer->IsRobot();

Oh. Do you mean help on getting third person working? ... Try search this 
mailing list's archives and you'll find about five thousand threads on the 
same thing where people are lost.

Oh and a hint. Some degree of Third Person support exists in the OB (beta?) 
versions available right now.


----- Original Message ----- 
From: "Ben Tucker" <creph...@live.com>
To: "HLCoders - Submit" <hlcoders@list.valvesoftware.com>
Sent: Saturday, June 06, 2009 6:39 PM
Subject: [hlcoders] 3rd / 1st person characters


> Hey. Id like to know if there's some way to make it so that when a 
> player's playing one character, he's in first person, but when he's 
> playing a certain other character ( a robot that can see in all 
> directions) they are in a 3rd person view following their character. 
> Thanks for any help!
> _______________________________________________
> 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