Thanks, Alfred, for responding.
No-- I'm looking for something different. IVEngineServer::ServerCommand() places the command at the _end_ of of the command buffer. I need the same function that the 'exec' command would use to place a command at the _beginning_ of the command buffer. Without an InsertAtFront or something similar, in-line variable expansion is not possible (without lots of command ordering issues).
Thanks a lot for considering my request-- it's quite important to the community using the EventScripts plugin, and will likely come in handy for mods down the road.
Thanks again, -Mattie
----- Original Message ----- From: "Alfred Reynolds" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 11, 2005 5:58 PM Subject: RE: [hlcoders] Interface method request: engine->ServerInsertCommand()
Are you looking for IVEngineServer::ServerCommand() which will run a command on the server?
- Alfred
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mattie Casper Sent: Sunday, April 10, 2005 7:59 PM To: [email protected] Subject: [hlcoders] Interface method request: engine->ServerInsertCommand()
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Valve reps,
Is there any way you can extend the IVEngineServer interface to provide ServerInsertCommand() (or some other relevant name)? It would work a lot like the old Quake engine's command buffer function (Cbuf_InsertText) that allows a console command to be inserted at the front of the buffer. I assume a similar function exists in the HL2 engine, because, as far as I know, "exec" would need something like that to work correctly.
If you could expose this function, it would allow my server plugin to cleanly support in-line variable expansion for my concommands.
Thanks so much for your help, -Mattie --
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

