The SET_VIEW() macro will allow you to change the player's view to another entity. For example...
SET_VIEW(pPlayer->edict(), pSmashCam->edict());
...will change the player's view to view from the SmashCam entity (assuming you've set the pPlayer and pSmashCam to the Player entity and SmashCam entity before this).
Calling SET_VIEW() with the player edict for both parameters will set the player's camera back to within their own head, i.e....
SET_VIEW(pPlayer->edict(), pPlayer->edict());
Jeffrey "botman" Broome
AHA. Thank you! :)
P.S. I know a couple of your GBX coworkers, they tell me the "batman" jokes were flying around there because of your nick :)
Awesome list, I'm staying subscribed.
Regards,
Tony
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

