Jump to content
Sign in to follow this  
Richard Bruce Cheney

Vehicle damage and fire questions - reset vehicle not working properly

Recommended Posts

Is there a way to check to see if a vehicle is currently on fire? Like inflamed is used for testing a fireplace?

I am trying to reset the vehicles damage using 'setDamage 0', but the vehicle is still a wreck. Also, it still has secondary explosions going on. I think that perhaps the vehicle fire keeps resetting my damage value.

Is there a foolproof way to reset vehicle damage other than using 'setDamage 0'?

On a side note, can you move the context menu that appears on the left side of the screen up vertically? The chat messages are covering some of the menu options.

Share this post


Link to post
Share on other sites

couldnt you just do a if statement?

if(pts>=100){

_mhq respawnVehicle [0,0];

};

Share this post


Link to post
Share on other sites

Absolutely, but respawn needs to be the decision of the player. He may want to spend his points on air support, arty or AI soldiers. Besides GetDamage, I don't know of any other functions that would indicate the vehicle is on fire.

Share this post


Link to post
Share on other sites

You should give it a try and ask some addon makers (especially those who are

doing vehicles) if there's any way to do what you need.

AFAIK it has to do with the model being changed and no way to change

that back but i really don't know too much about vehicle configs and also

especially not what has changed in ARMA2 since OFP on that. ;)

Another try could be over some repair unit/object - if you find a way without

the player recognizing it that could maybe work aswell (dunno exactly).

~S~CD

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  

×