Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
thev1rus

Invincible building

Recommended Posts

I want to know how you can make a building invincible.

The building i mean is the one in Chernogorsk you start on top of at the harvest red mission of the campain (building id 966951).

I already tried using a trigger with the following lines:

Condition: GetDammage ID966951 >= 0

On Act: ID966951 SetDammage 0

But it doesnt seem to work, because if i fire on it with a bmp it still gets destroyed after some rounds are shot in it. I also tried setting the trigger to repeatedly but this doesnt work either...

Some1 help me out please?

Share this post


Link to post
Share on other sites

I like to use a different approach.

I place a gamelogic over the building and then the code will give it a name, in this case what. After that you can just use the name of the object the same as any other object.

what =  getPos this nearestObject "building";what allowDamage false

Share this post


Link to post
Share on other sites

thx this helped me out, i fired 30 rounds of a t90 into the bulding and it didnt had a scratch :)

Share this post


Link to post
Share on other sites

Is there a way to do this with objects as well? I want to make it so the NATO Vehicle Net and other nets will not collapse. I tried the code above but it doesn't work for these.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×