Schinken
03-27-2010, 11:27 AM
Okay, just something i found out, i have no real use for it but it might be good to know for some of you ;).
So, if you place point_servercommand and name it to whatever, then place something to Trigger it, for example a trigger_multiple.
trigger_multiple -> OnStartTouch -> NAME_OF_point_servercommand -> Command -> sv_gravity 100
Would set the gravity to 100 :).
But you can do way more (bad) things with it, for example you can use the point_clientcommand to bind some keys :D.
For example: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> bind mouse1 kill
Would bind the kill function to the left mouse button, for the client of course :).
Or you could exit the clients game with: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> quit
So, if you place point_servercommand and name it to whatever, then place something to Trigger it, for example a trigger_multiple.
trigger_multiple -> OnStartTouch -> NAME_OF_point_servercommand -> Command -> sv_gravity 100
Would set the gravity to 100 :).
But you can do way more (bad) things with it, for example you can use the point_clientcommand to bind some keys :D.
For example: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> bind mouse1 kill
Would bind the kill function to the left mouse button, for the client of course :).
Or you could exit the clients game with: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> quit