What about a UserCMD?
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Walter Gray
Sent: Monday, 4 May 2009 4:35 PM
To: Discussion of Half-Life Programming
Subject: [hlcoders] Sending Data from Client to Server
Hey list,
I'm trying to create a hammer output field for one of my entities,
but I've run into a bit of a roadblock.
The entity is used to control the playback of full screen movies,
and networked so that the server side and thus hammer can be used to
start or stop the movie while the client side is responsible for
actually playing the video files. I want to have an output fire when
the movie ends, but that would require that when the movie ends on the
client side either because it finishes normally or the player stops it,
data be transmitted from the client to the server.
As I understand it, CNetworkVars only transmit from server to
client, so the only way I can think of right now would be to encode the
information in the key press info (create an unbound IN_MOVIEENDED
button). Is there a better, non-hacky way to go about this?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
__________ Information from ESET Smart Security, version of virus signature
database 4050 (20090503) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature
database 4050 (20090503) __________
The message was checked by ESET Smart Security.
http://www.eset.com
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders