Hosted at the Duke Nukem Repository
Navigate InfoSuite
Hosted At

Link to DNR
Advanced Effects - Vertically Moving Sectors - C : Piston

Piston

Also known as an Engine/Engine Piston/Crusher, this effect causes the ceiling to lower and raise itself repeatedly.


Create the piston sector. Place an S[0,25] (M[HearingDistance,AmbienceSound], Speed[0,Speed]) within the piston sector. The vertical height of the S determines the piston's initial height. The ceiling height of the piston determines the highest position it can reach before returning to the ground.

Note: It is possible to link this effect to a switch, but the Piston will be active by default regardless of the switch's initial status. Because of this, the "Activated/Deactivated" messages will always be incorrectly swapped. Also, if you are using ambience sound for the piston, then the sound will not stop when the piston stops. For these reasons, I recommend leaving the piston to be active indefinitely.




Return to top