Here's a tough problem. I have an event handler that handles the firing of a lightning gun. The event handler uses a R_BeamEnt entity to draw a lighting bolt from the shooter's weapon off into the direction the shooter is facing. The problem is that it seems the event message is sent to all clients even when the entity triggering the event is outside the PVS. Unfortunately, the entity's origin and angles don't appear to get updated on the client when it's outside the client's PVS so the result is that I have lightning bolts appearing from thin air randomly in the level since the event handler is using obsolete coordinate information. So here's the question: Is there a way to tell if the entity wishing to send the event is in the client's PVS (and hence is receiving coordinate updates about the entity)? Or is there a way on the clientside to tell that the event came from an entity in its current PVS or that the coordinate infomation to that entity is currently valid?
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

