Page 1 of 1

Triggers with multiple contacts?

Posted: Tue Apr 20, 2004 5:49 pm
by Ramah Palmer
Hi everyone,

I seem to have a problem with a trigger_multiple I have that is supposed to cause pain to whoever touches it. If there is more than one person touching it then it tends to only give pain to one person until they jump up for a seconds and then it shifts to the other one.
In order to slow the pain down a little I have a 'wait 2.5' on my trigger and I guess that this is being called by one person and then anyone else who touches the trigger at that time also finds the trigger in a passive state.

Is there any way to get round this? :?


Thanks in advance for anyone who can help.

Posted: Tue Apr 20, 2004 5:54 pm
by jv_map
Use a trigger_multipleall 8-)

Posted: Tue Apr 20, 2004 7:31 pm
by Ramah Palmer
:oops:

Erm...thanks.

thread

Posted: Tue Apr 20, 2004 8:04 pm
by tltrude
Please post the thread, and tell us if the trigger uses "setthread".

Posted: Wed Apr 21, 2004 5:48 am
by bdbodger
maybe try something like this

$trigger setthread hurtplayer

hurtplayer:

local.player = parm.other
while(local.player istouching self)
{
local.player hurt 10
wait 1
}
end