Jump to content
Sign in to follow this  
Sennacherib

dead crew

Recommended Posts

someone could tell to me, how to avoid that the crew die in their tank.

this is really annoying, after 2 shots, the tank is empty, all the crew is dead.

i have try in a tank cpp to change passthrough=1 to 0, but nothing. + armorgunner=100000; (lol) same thing for the commander etc, but nothing.

i like big tank battles, but with that, this is simply impossible. sad_o.gif

Share this post


Link to post
Share on other sites

i try already to understand your scripts. wink_o.gif

i like also the script which avoid the destruction of tanks.

could you explain to me which scripts are used in this case? smile_o.gif

Share this post


Link to post
Share on other sites

if you are nor experienced scripter i wont be able to explain liberation script work wink_o.gif and if you are experienced one you'll understand it by yourself.

Basicly use [tank] exec "heal_crew.sqs" attached to hit EH.

Share this post


Link to post
Share on other sites

ok, thx. i'm going to try. smile_o.gif

Quote[/b] ]if you are nor experienced scripter

alas, i'm a noob in scripting. sad_o.gif i just need basic scripts. smile_o.gif i'm just fed up with the dead crew especially for a panther tank, after 2 shots, the tank is empty crazy_o.gif

thx for your help. wink_o.gif

btw if i use the heal script, i can release the addon with it?

Share this post


Link to post
Share on other sites
Quote[/b] ]btw if i use the heal script, i can release the addon with it?

"heal script" ? rofl.gif It's two lines long - do whatever you want with it wink_o.gif

Share this post


Link to post
Share on other sites

ok thx. smile_o.gif

btw that doesn't work.

the lines in the cpp:

class EventHandlers

{

hit= "[tank] exec ""\britM4\lib_scripts\heal_crew.sqs"";";

};

i tried also with:

hit= "[britM4] exec""\britM4\lib_scripts\heal_crew.sqs"";";

the crew is always wounded or dies sad_o.gif

Share this post


Link to post
Share on other sites

Try

hit= "_this exec ""\britM4\lib_scripts\heal_crew.sqs"";";

[tank] couldn't possibly work unless the particular vehicle was referenced by a variable named tank.

Share this post


Link to post
Share on other sites

thx. smile_o.gif

ok i have tried. but this is always the same thing. the crews are wounded.

the script:

_obj = _this select 0

{ if(_x in _obj AND alive _x) then {_x setdammage 0} } foreach [driver _obj,gunner _obj,commander _obj]

exit

sad to be a noob at scripting sad_o.gif

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  

×