Page 1 of 1

River scripting

Posted: Fri Jun 20, 2003 6:54 pm
by Daniel Radcliffe
Hi, about a week/week and a half ago i spotted a post in a forum (unsure which forum) where there was a link to a script that when people fell in a river they would be dragged off and killed.

Does anyone know where i can find this script as i need some decent way of killing anyone that falls in my river as they will be unable to escape the river.

Thx :)

Push

Posted: Fri Jun 20, 2003 7:56 pm
by tltrude
Well, for the "being pushed along" part, there is a trigger_push that will move a player as if he was caught in a strong wind. It is set at 1000 by default, so you will have to slow it down and set the direction it pushes.

For the "kill the player part" you can set another trigger (trigger_multiple) down stream. If you add key "damage" and value "200", it should kill the player when he touches it. If you want the player to die slowly, it will be a little harder.

Posted: Sun Jun 22, 2003 2:25 am
by Daniel Radcliffe
OK, thx :)

Posted: Mon Jul 07, 2003 9:47 am
by ScorpioMidget
There are a couple of river death scripts i wrote, i believe they should still be on TMT somewhere.

One does as you say, drags u out and drowns u, other allows u to enter the river and walk around, but you die if u stay under water too long.