botman wrote:
Ahh, I almost forgot, what would be a good way to get a reference to the

info_smash_cam? I've seen


FIND_ENTTY_BY_STRING() or something, but I'm not 100% sure how to use it.


Yes, that would work fine, especially if you only had one info_smash_cam in
the game.  If you had more than one entity, it might make more sense to
Create() the entity when the player spawns and destroy it when they die (or
have some method of "claiming" an info_smash_cam entity, like using the
"Owner" member variable to associate it with the player that owns it).

Well, the deal is It's going to be multiplayer, so destroying the entity when someone dies is not an option. I will eventually have either multiple cameras or other spots that the camera can move to when the room changes. I found [1] which I think is what I really need... thanks for the help.


[1] http://list.valvesoftware.com/mailman/private/hlcoders/2001-December/000911.html


Regards,

Tony


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to