Models blowing up?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Trinculo
Corporal
Posts: 25
Joined: Fri May 23, 2003 8:32 pm
Location: Brisbane, Australia
Contact:

Models blowing up?

Post 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!
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post 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
*/
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Trinculo
Corporal
Posts: 25
Joined: Fri May 23, 2003 8:32 pm
Location: Brisbane, Australia
Contact:

Post by Trinculo »

thanks guys :)
Post Reply