hurting spikes


(Guess_Who) #1

ok here is my problem

i have made a fun map but i have 2 spike pits in it and i am wanting it so when u land on the spikes u die how?? and maybe a message if someone could post the coding or somehting i would greatly appreciate it!!

Guess_Who
DHclan


(Clutch152) #2

use trigger_hurt

put a brush around the spikes and the trigger texture, right click in the 2d window and go to trigger and select trigger_hurt.
Then set the damage key to a variable of your choosing :smiley:


(Guess_Who) #3

hey thanks man


(Clutch152) #4

:smiley:


(Loffy) #5

… and place a target_speaker nearby. Let the entiry (the trigger hurt) target this speaker.
Let the speaker play a “death sound”, something like: “Argh!” (scream).
//Loffy