Re: A brush that does a command when you touch it.
Posted by Blargdaniel on
Sat May 10th 2008 at 12:19am
Posted
2008-05-10 12:19am
19 posts
2 snarkmarks
Registered:
Apr 17th 2007
Occupation: Student
Location: Australia
Is there a way to make a brush entity that actually enters a command into the console when you touch it? For example you might walk into it and it would put noclip in the console so you would then be in noclip mode. It would be useful if something like this existed.
Re: A brush that does a command when you touch it.
Posted by Blargdaniel on
Sat May 10th 2008 at 12:44am
Posted
2008-05-10 12:44am
19 posts
2 snarkmarks
Registered:
Apr 17th 2007
Occupation: Student
Location: Australia
Thanks, noclip was just my example but it doesn't matter.
Re: A brush that does a command when you touch it.
Posted by fishy on
Sat May 10th 2008 at 2:31am
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
You'd need a point_servercommand to set sv_cheats, but I don't recommend using it if you're mapping for a multiplayer game. Most server admins wouldn't thank you for a map that messes with their server settings.
i eat paint