Page 1 of 1

spawn a kill trigger

Posted: Thu Sep 16, 2004 9:31 pm
by echo_rancid
How would I spanw a trigger that when walked into would kill the player...not suicide though. I want to block the wires off on brest.

Thanks.

Posted: Sun Sep 19, 2004 1:26 am
by strafer
First, spawn a trigger multiple. Set it to run a thread after a player enters it. In the thread, have the player die then just end the thread. If you don't know how to use a trigger multiple or how to do the thread this is how:

Code: Select all

 local.killspot = spawn trigger_multiple
 local.killspot.origin = ( xxx xxx xxx)
 local.killspot.setsize (-xxx -xxx -xxx) (xxx xxx xxx) // this is the box
 local.killspot setthread mythread

mythread:

local.player=parm.other
local.player kill

end