-----------------------------------------------------------------------
I've seen this in CTriggerCamera::Use. Which entity does it refer to? I
originally thought that it was the player, but this:
if ( !pActivator || !pActivator->IsPlayer() )
seems to rule that out. Which entity is it pointing at?
-----------------------------------------------------------------------

This is in fact the first player in the entity list. Players take slots 1
through 32.
I think slot 0 is worldspawn.

The code (if (!pActivator .....) ) is there in case the 'use' function gets
triggered
by something other than a player (for example a trigger_multiple or a
monster) so that
pActivator will have some valid data in it.

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

Reply via email to