Force func_door to move
As title, I need to force all func_door doors to move, like closed rooms in jail maps.
How to do it? I know I can use ham_use to force press all buttons on the map to open the doors, but this is really... lame. |
Re: Force func_door_rotating to move
force_use ?
|
Re: Force func_door_rotating to move
Quote:
|
Re: Force func_door_rotating to move
@Alka: that doesnt make sense, he just wants to open door
|
Re: Force func_door_rotating to move
Oh, I really nevermind about engine module. I'll try it.
|
Re: Force func_door_rotating to move
Don't have to use engine.
Could've used DLLFunc_Use. |
Re: Force func_door_rotating to move
Oh, thanks. But not works... because to open this door I must press button, not use this door. Any suggestions?
|
Re: Force func_door_rotating to move
force use the button. lol
|
Re: Force func_door_rotating to move
You can force use the button or the door, just make sure you get the door's entityid. It works regardless of being tied to the button, because the button is tied to the door, not the other way around. A door has no idea if a button could open it or not (buttons have a target field, but it's not like a door has a "targetted by" field) -- I'm pretty sure a button is just a shotcut to a force_use (button uses door) within the half-life engine.
|
Re: Force func_door_rotating to move
Quote:
|
| All times are GMT -4. The time now is 15:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.