Navigate InfoSuite
Hosted At
Link to Duke4
Advanced FX - Doors - D7 : Switch-Operated Door

Switch-Operated Door

You can use any type of door with this effect. The door can be activated with a switch.



Switch-Operated Door using Activator

This type of door can only be opened and closed with a switch.


Construct any type of door so it functions in the game. Now place an A[Mode,Channel] in the door sector. Valid values for Mode are: [0] = default, [1] = open door only*, and [2] = close door only*. Then place a Switch somewhere in the map and tag it [ActivationSound,Channel]. If you don't specify a value for ActivationSound, a preset sound will be used.

* These modes are only intended to work with vertical doors.




Switch-Operated Door using MasterSwitch

This type of door has its own special properties: (a) It will only activate once, then you must open it manually. (b) It has a time-delay ability.


Construct any type of door so it functions in the game. Now place a D[Delay,Channel] in the door sector. The Delay value is the amount of time before the door activates after the Switch is pressed. A Delay value of 30 = 1 second. Then place a Switch somewhere in the map and tag it [ActivationSound,Channel]. If you don't specify a value for ActivationSound, a preset sound will be used.


Return to top