Page 1 of 1

Models blowing up?

Posted: Thu Jul 17, 2003 5:29 am
by Trinculo
ok this is not a post asking how to blow things up! I need to know how to stop things blowing up :)

i have the models/vehicle/europe/car-tan model but if i shoot it enough it blows up and disapears? i dont want it to do that!

Posted: Thu Jul 17, 2003 7:53 am
by nuggets
you could do it in scripting

main:
thread keep_health
end

keep_health:
while (1)
if ($car.health < 3000)
$car.haelth = ($car.health + 7000)
end

/*that will do what ya need and give the car
key: targetname
value: car
*/

Posted: Thu Jul 17, 2003 9:59 am
by bdbodger
give the car a targetname then use

$mycar nodamage

I know it works with a friendly I used in a map and I think it will work for models too .

Posted: Fri Jul 18, 2003 5:08 pm
by Trinculo
thanks guys :)