211476 wrote:well, i have another delema...it blows opponents up. It's a punishment, not a reward. Fix?
You mean if they get close to an opponent they blow up too? try posting the script up here
Yeah if they get to close they go BOOOOM!!
aight here is the script...
main:
local.master = spawn ScriptMaster
local.master aliascache bombtick1 sound/items/Item_Timer_01.wav soundparms 0.7 0.0 1.0 0.0 10000 10000 local loaded maps "m1l2a m2 m3 m4l3 m5 m6l1 m6l3d dm moh obj train"
local.player=self
if(local.player.trigger!=1)
{
local.player.trigger=1
}
else
{
end
}
local.still = spawn trigger_multiple
local.still.origin = self.origin
local.still setsize ( -10 -10 -10 ) ( 10 10 10 )
for(local.timer=0;local.timer<20;local.timer++)
{
if!(self istouching local.still)
{
local.player.trigger=0
local.still delete
end
}
wait 1
}
local.player.trigger=0
local.still delete
local.mine = spawn script_model
local.mine model "items/explosive.tik"
local.mine.origin = ( local.player gettagposition "Bip01 Pelvis")//local.player.origin//
local.mine notsolid
local.mine attach local.player "Bip01 Pelvis"
local.player stopwatch 10
self iprint "Camping Get's You no where..." 1
self iprint "BOOOOOOOOM!!"
self stufftext "say I'm a camper and am going to explode."
self playsound streamed_dfr_scripted_M3L1_016a
self loopsound bombtick1
local.timer=0
while(isalive self)
{
wait 1
local.timer++
if(local.timer==10)
{
self stoploopsound bombtick1
local.Exp1 = spawn "fx/scriptbazookaexplosion.tik"
local.Exp2 = spawn "animate/fx_mortar_dirt.tik"
local.mine remove
local.Exp1.origin = local.mine.origin
local.Exp1 anim start
local.Exp2.origin = local.mine.origin
local.Exp2 anim start
wait 1
local.Exp1 remove
local.Exp2 remove
local.player.trigger=0
}
}
self stoploopsound bombtick1
local.mine remove
local.player.trigger=0
end
Btw, if u try to use this, it won't work. You have to have another File which i will not give, as this is for my clan only.