heretic2-sdk/Toolkit/Designer/dsexamples/cloud/flames.ds

28 lines
616 B
Text
Raw Normal View History

1998-11-24 00:00:00 +00:00
//gaurds die, ogles cheer, flames go out
#include "../common/header.ds"
output "r:/base/ds/cloud"
//define variables
local entity fire
local entity fire1
local entity hurt
local entity light
local int sig
fire = find entity with targetname "fire"
fire1 = find entity with targetname "fire1"
hurt = find entity with targetname "firedamage"
light = find entity with targetname "flamelight"
//turn stuff off.
use entity fire
use entity fire1
move entity hurt by [0, 0, -256] over 1 seconds
move entity light by [0, 0, -256] over 1 seconds signaling sig
wait for all clearing sig