func_door_rotating
1. I want to lock a door, so player's wont be able to open it. Would this work?
Code:
2. I want to make a door not solid, so player's can go through it. Would this work? Code:
|
A lot of inground entities don't think in ways we can catch.
|
i've never tried this, so there are just some ideas
1. change the door to a func_wall, then change it back or set the "speed" to 0 2. i know that setting a player to SOLID_NOT allows other players to walk through them, it would probably have the same effect on a regular ent. If not set the absmax and absmin to 0 (or the mins or maxs), i think one of them determines the actual part the player hits. |
1. Use register_touch and catch player and func_door(_rotating). If the door shouldn't be opened, return PLUGIN_HANDLED, if not return PLUGIN_CONTINUE. The only exception is on button doors.
2. The proper way would be this: Code:
But it still may not work as you expect. |
Thank for the info. I will try them :wink:
|
| All times are GMT -4. The time now is 15:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.