Page 1 of 1

Killer sea

Posted: Tue Jun 01, 2004 2:17 pm
by merlin
I have done some nice sea and what i would like is when you fall in the sea you die!! can anyone tell me how to do this!?

Posted: Tue Jun 01, 2004 2:29 pm
by MadMapper
Pain Triggers? I'm sure if you do a search on it yuo'll find something... I also think there was a tutorial...

Posted: Tue Jun 01, 2004 3:18 pm
by Bjarne BZR
Make a trigger multiple.
Give it key/value = setthread/drown_me
Put this method at the bottom of your script:

Code: Select all

drown_me:
	if( parm.other.dmteam == allies || parm.other.dmteam == axis )
	{
		iprintlnbold_noloc  "The sea takes another life"
		parm.other hurt 666
	}
	else
	{
		println "Strange triggering of drown_me trigger by " parm.other
	}
end