Locked switches...

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Locked switches...

Postby Lexus Alyus » Tue Aug 05, 2003 7:29 pm

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
Lexus Alyus
I may be back...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

Postby Zell » Tue Aug 05, 2003 7:50 pm

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
Zell
:O ALIVE[again]
 
Joined: 24 Jul 2003
Location: IN A GODDAMN BOX[In Erie.]

Postby Eevee » Tue Aug 05, 2003 9:30 pm

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.
User avatar
Eevee
perls of wisdom
 
Joined: 16 Jul 2003


Return to Editing

Who is online

Users browsing this forum: BurntApples, Google [Bot], Sangelothi and 4 guests