heretic2-sdk/Toolkit/Designer/dsexamples/cloud/secretdoor1.ds
1998-11-24 00:00:00 +00:00

22 lines
No EOL
479 B
Text

// secret door moves back
#include "../common/header.ds"
output "r:/base/ds/cloud"
//define varibales
local entity sdoor
local int sig
sdoor = find entity with targetname "secretdoor"
play sound "doors/metal1.wav" for entity sdoor
move entity sdoor by [0, -192, 0] over 2 seconds signaling sig
wait for all clearing sig
play sound "doors/thud3.wav" for entity sdoor
move entity sdoor by [16, 0, 0] at 50 speed signaling sig
wait for all clearing sig