Underground Doors

Avatar
iWork925
1,080 Posts
Posted May 22, 2011
Could someone please point me in the direction of a tutorial for these. I can get them going automatically as you approach but I cant get them to be user activated. Like when you press action. Any ideas?

Example: http://img405.imageshack.us/img405/7071/btsdoor.png

Advertisement
Registered users don’t see ads! Register now!
Avatar
Jomonay
294 Posts
Posted May 22, 2011
Replied 7 minutes later

iWork925 wrote:
Could someone please point me in the direction of a tutorial for these. I can get them going automatically as you approach but I cant get them to be user activated. Like when you press action. Any ideas?

Example: http://img405.imageshack.us/img405/7071/btsdoor.png

I imagine you go to "Flags" in the "prop_door" entity and select "Use key opens" or something to that effect.

Avatar
iWork925
1,080 Posts
Posted May 22, 2011
Replied 28 minutes later
Sorry. But I can not find a prop_door entity. Is my SDK outdated?
Avatar
Jomonay
294 Posts
Posted May 22, 2011
Replied 1 hour later
Nah, it's my fault, I haven't really encountered doors in the P2 SDK yet. Are the doors part of an instance?
Avatar
iWork925
1,080 Posts
Posted May 22, 2011
Replied 10 minutes later
No couldn't find it in an instance.

I got this far. On Button press -> (door) setanimation open.

But I can't find a trigger that has the 'Use' Flag.

:'(

Avatar
NocturnalGhost
200 Posts
Posted May 22, 2011
Replied 8 minutes later

iWork925 wrote:
I can't find a trigger that has the 'Use' Flag.

http://developer.valvesoftware.com/wiki/Func_button

Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted May 22, 2011
Replied 26 minutes later
Omg thanks. Biggest derp moment right there. Sorry.