Jump to content
Sign in to follow this  
predoc

Making squad vehicles indestructible via debug

Recommended Posts

Hello everybody,

 

I would like to make my whole tank squad invulnerable by using the debug console. As far as I know, these lines are working:

 

        (vehicle player) allowDamage false; 
        (vehicle player) setdamage 0; 

 

but they are yust for my vehicle. Is it possible to change these lines, in order that includes the whole squad? How would it look like?

 

Thanks for your help and apologize for my noob question.

Share this post


Link to post
Share on other sites
{
	vehicle _x allowDamage false;
} count units group player; 

try that? Haven't touched arma in a while so could be wrong.

Share this post


Link to post
Share on other sites

Thanks that seems to work during my tests

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  

×