heretic2-sdk/Toolkit/Designer/dsexamples/canyon/boom.ds

40 lines
691 B
Text
Raw Permalink Normal View History

1998-11-24 00:00:00 +00:00
//Assassin's explosive trap.
#include "../common/header.ds"
output "R:/base/ds/canyon"
//define entity
local entity flamel
local entity rubble
local entity activate
local entity deactivate
local int sig
flamel = find entity with targetname "flamel"
rubble = find entity with targetname "rubble"
activate = find entity with targetname "activate"
deactivate = find entity with targetname "deactivate"
//move fire
flamel.movetype = PHYSICSTYPE_PUSH
move entity flamel by [0, 0, -120] at 200 speed signaling sig
wait for all clearing sig
use entity rubble
wait .1 seconds
use entity activate
wait .1 seconds
use entity deactivate