Raised This Month: $ Target: $400
 0% 

Lock a door


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cyher Marx
Junior Member
Join Date: Dec 2008
Old 03-26-2011 , 04:55   Lock a door
Reply With Quote #1

Hello everyone, AcceptEntityInput(entid, "Lock", 0) is not supported on the game I'm working with, is there any other way to lock a door? Any help would be much appreciated,
Brandon
Cyher Marx is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 03-26-2011 , 10:40   Re: Lock a door
Reply With Quote #2

Well, you could hook the output for OnOpen which is when it first starts to open and then tell it to close. I'd combine this by setting the door silent flag so the noises made, if any, aren't a problem.
__________________
databomb is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 03-27-2011 , 08:45   Re: Lock a door
Reply With Quote #3

Take a look through the door entity's datamap list to find out if something else is supported for locking.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:15.


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