I have my script working for drowning a player when he falls into the ocean.
But when the player dies it just sends
"Player" blew up!!!
I would like to say something else!!, BUT HOW do you do that?
Here is what I have setup
I have it set up as follows
trigger_multiple (around the area I want to kill)
delay/20
targetname/hurtme
setthread/pain
wait/1
then the script added to the scr file (after the 'level waittill spawn')
pain:
$hurtme volumedamage 15
end
Text Message display after death
Moderator: Moderators
actually, im wrong you'd have to give numerical values for it... here they are:
Code: Select all
// Means of death values:
// 0 MOD_NONE,
// 1 MOD_SUICIDE,
// 2 MOD_CRUSH,
// 3 MOD_CRUSH_EVERY_FRAME,
// 4 MOD_TELEFRAG,
// 5 MOD_LAVA,
// 6 MOD_SLIME,
// 7 MOD_FALLING,
// 8 MOD_LAST_SELF_INFLICTED,
// 9 MOD_EXPLOSION,
// 10 MOD_EXPLODEWALL,
// 11 MOD_ELECTRIC,
// 12 MOD_ELECTRICWATER,
// 13 MOD_THROWNOBJECT,
// 14 MOD_BEAM,
// 15 MOD_ROCKET,
// 16 MOD_IMPACT,
// 17 MOD_BULLET,
// 18 MOD_FAST_BULLET,
// 19 MOD_VEHICLE,
// 20 MOD_FIRE,
// 21 MOD_FLASHBANG,
// 22 MOD_ON_FIRE,
// 23 MOD_GIB,
// 24 MOD_IMPALE,
// 25 MOD_BASH,
// 26 MOD_TOTAL_NUMBER