Hie everybody.
is it possible to define the weapon allowed to shoot an object ?
I want a nebelwefer fired only by a panzerchreck and with grenades.
Thanks for your answers.
tropheus
shooted selectively
Moderator: Moderators
ithnaks for your answers, but i just tried it, and nothing more.
i put these lines in the main thread. ==> no change
i put in my thread ==> no change.
Why ???
i don't know. i paste my scr. if you see a mistake...
my trigger damage is called nebel_trigger.
$nebel_trigger.health=200
thread objets_caches
$nebel_trigger thread nebel_explo $nebel_trigger
level.script = "maps/test_nebel.scr"
end
////////////////////objets cach?s//////////////
objets_caches:
$nebel_d hide
end
///////////////////////////////////////////////
///////////////////explosion du nebel//////////////
nebel_explo:
self immune bash
self immune bullet
self immune fast_bullet
self immune grenade
while ($nebel_trigger.health > 100)
waitframe
local.exp1=spawn "animate/fx_explosion_tank.tik"
local.exp1.origin=$nebel.origin
local.exp1 anim start
radiusdamage $nebel.origin 75 200
$nebel remove
$nebel_d show
end
thanks for your answers.
tropheus
i put these lines in the main thread. ==> no change
i put in my thread ==> no change.
Why ???
i don't know. i paste my scr. if you see a mistake...
my trigger damage is called nebel_trigger.
$nebel_trigger.health=200
thread objets_caches
$nebel_trigger thread nebel_explo $nebel_trigger
level.script = "maps/test_nebel.scr"
end
////////////////////objets cach?s//////////////
objets_caches:
$nebel_d hide
end
///////////////////////////////////////////////
///////////////////explosion du nebel//////////////
nebel_explo:
self immune bash
self immune bullet
self immune fast_bullet
self immune grenade
while ($nebel_trigger.health > 100)
waitframe
local.exp1=spawn "animate/fx_explosion_tank.tik"
local.exp1.origin=$nebel.origin
local.exp1 anim start
radiusdamage $nebel.origin 75 200
$nebel remove
$nebel_d show
end
thanks for your answers.
tropheus

