Posted: Fri Feb 25, 2005 2:57 pm
yes,i have this in my thread,but in a different thread i made to check for the player who triggered the trigger,to change his/her weapon.
will this still change the parm.other eventually?
i will post my script,that way no mistakes
EDIT**
now,i changed this around bout 50 times,because the parm.other did effect everyone.i know very little bout scripting like this.
so please hold nothing back....i wanna learn
will this still change the parm.other eventually?
i will post my script,that way no mistakes
EDIT**
Code: Select all
death_check:
self waittill trigger
local.player[i]=parm.other
if(local.player[i].isdeath_check == 1)
end
local.player[i].isdeath_check = 1
while(1)
{
for(local.i=1;local.i<=$player.size;local.i++)
{
if(local.player[i].dmteam != allies)//want it to = the triggerer
{
local.team = local.player.dmteam
while (isAlive(local.player[i]) && local.player[i].dmteam == local.team)
//want to exec this stuff when dies and respawns,only for triggerer
wait .1
local.player[i] takeall
local.player[i] give "models/weapons/silencedpistol.tik"
local.player[i] give "models/weapons/kar98.tik"
}
else if(local.player[i].dmteam != spectator)
waitframe
{
local.player[i] light 0 0 0 1
}
}
waitframe
break
}
thread death_check
end
so please hold nothing back....i wanna learn