Page 1 of 1

Text Message display after death

Posted: Tue Jul 29, 2003 10:04 pm
by sirkilroy
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

Posted: Tue Jul 29, 2003 11:35 pm
by Alcoholic
i dont know if this will work in your case, but you can try setting a meansofdeath. for example:

$hurtme meansofdeath crush

Posted: Wed Jul 30, 2003 10:47 pm
by sirkilroy
thanks I will give it a try

Posted: Wed Jul 30, 2003 10:48 pm
by Alcoholic
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

Posted: Thu Jul 31, 2003 9:46 am
by Valoche
Cool,

You could also add to your pain thread this line:
parm.other stufftext say Help ! I can't swi-blop-blop-blop !!!

Posted: Thu Jul 31, 2003 9:25 pm
by Alcoholic
lmao :lol:

Posted: Sat Aug 02, 2003 4:19 am
by sirkilroy
Thanks Again.

I am going to try both and see which works the best