AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Possible ? func_door (https://forums.alliedmods.net/showthread.php?t=167780)

r0ck 09-20-2011 03:30

Possible ? func_door
 
is it possibe to give a player so that he can go through func_door without opening them (just 1 player) thanks (dont wanna open the door)

Stereo 09-20-2011 09:15

Re: Possible ? func_door
 
I think you need to register touch with func_door and give noclip but i don't know more xd

One 09-20-2011 09:38

Re: Possible ? func_door
 
Quote:

Originally Posted by Stereo (Post 1559424)
I think you need to register touch with func_door and give noclip but i don't know more xd

bad idea!

i think its possible to remove the door and spawn it again after x sec.
but it can cause laggs :)

r0ck 09-20-2011 10:52

Re: Possible ? func_door
 
or if the user is touching the door we can make the door solid_not and if he's not touching anymore removed solid_not ?

But How??

r0ck 10-12-2011 10:04

Re: Possible ? func_door
 
bump ?

.Dare Devil. 10-12-2011 11:31

Re: Possible ? func_door
 
Quote:

Originally Posted by Stereo (Post 1559424)
I think you need to register touch with func_door and give noclip but i don't know more xd

Quote:

Originally Posted by One (Post 1559431)
bad idea!

i think its possible to remove the door and spawn it again after x sec.
but it can cause laggs :)

Just add to all doors noclip :)

r0ck 10-12-2011 11:40

Re: Possible ? func_door
 
just 1 player zzzz

Erox902 10-13-2011 03:59

Re: Possible ? func_door
 
solid not seems like the best option, if you use noclip they will probably just go into the wall and such stupidity.
solid_trigger would also be an option, I think this could be great if you only want a specific player to go through it.
Then you could register_touch, check if the player is that specific player and then let him walk through it.
I'm not sure but I think it will still be registered when someone touches the door,
and that would be good cuz' then if the player is not on the other side of the door yet you could force them to walk backwards or something.

Or maybe you could do a check if anyone else is in certain radius of the door, and not set it's solidity if someone else is.

Flipper_SPb 10-13-2011 05:29

Re: Possible ? func_door
 
I think, you can change ES_Solid for func_door in FM_AddToFullPack forward.

Flipper_SPb 10-13-2011 05:41

Re: Possible ? func_door
 
That doesn't work :(. I just tried.


All times are GMT -4. The time now is 19:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.