Jump to content
Sign in to follow this  
Fishu

A bug: allowDammage is broken

Recommended Posts

I tried to have indestructable vehicles toggled on and off with 'allowDammage', but they did still take damage when allowdammage was false.

I loaded mission which I made in 1.20, with surely indestructable vehicles and instead those were vulnerable.

sad.gif

Share this post


Link to post
Share on other sites

I seem to recall that BIS disabled allowDammage a long time ago in order to prevent misuse in MP games. Yes, it's sometimes a pain to mission makers trying to test things out.

Share this post


Link to post
Share on other sites

Geez.. I can't use it in singleplay now when I really need it sad.gif

and the mission I mentioned I made in 1.20, was multiplay mission where allowdammage protected unnused vehicles from being vulched by the players.

Share this post


Link to post
Share on other sites

Yeah. If you read the documentation it state that allowDammage is "obsolete".

There is a way to almost simulate this though. In the condition field of a trigger type something similar to:

getDammage jeep > 0

and in the onactivation field type:

jeep setDammage 0

I haven't tried this on vehicles, but on a unit it will allow the unit to survive even when killed, unless subject to excessive damage, like a grenade and a shower of bullets simultaneously.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×