I’m trying to reproduce a ‘lever’ with the use of func_door_rotate, but when you activate it the other side, it also opens the other way.
How can I make it go only one way?
I’m trying to reproduce a ‘lever’ with the use of func_door_rotate, but when you activate it the other side, it also opens the other way.
How can I make it go only one way?
Make the door yourself using a script_mover and script. The lever just triggers a rotation script 
You can use func_door_rotating and set the “Degrees” flag to the angle that you want the door to open to - something like 90 degrees.
Set the spawnflags “force” to on - you may also have to set the “Reverse” spawnflag as well.
This will force the door to always open in the direction you want and it will also force the player back if it is opening towards him.
Potential bot stuckage in sight x) The doors on Secret Weapon are done like this, sometimes it cuts the action 
In that case, you are going to have to do some new bot waypoints as well so that they are not trying to run through a door that is not accessible to them. Nothing more annoying then a bot trying to go through one door and someone going through the other side and can’t because the bot is blocking them.
Since he’s building the map, he will probably make several ways, so if a bot block one door, players can use an or several alternative ways.
Well scripted, bots can be helpful when there’s not enough players on 