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.
spawn a kill trigger
Moderator: Moderators
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
