Locked switches...

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK
Contact:

Locked switches...

Post by Lexus Alyus »

One small question...

How do I make a switch locked (IE: It needs a key to activate it)? I'm assuming that this can only be done in ACS, so, what commands would I use (I just want this switch to activate a basic doom lift)?

Thanx in advance.

:twisted:
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

well, you would use a locked special. you do not need ACS to do it. Here are the key types:
0 - none
1 - red key
2 - blue key
3 - yellow key
4 - red skull
5 - blue skull
6 - yellow skull
100 - any key
101 - all keys.
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am
Contact:

Post by Eevee »

As far as I know there are no locked platform specials, so you'd need to make a script that activated the lift, then run the script by setting the switch's special to ACS_LockedExecute. Parameters are (script, map, arg1, arg2, key) where the key is from the list Zell gave; everything else is the same as ACS_Execute.
Locked

Return to “Editing (Archive)”