Jump to content
Sign in to follow this  
frezinator

How to make Static ZU-23 and AI gunner both immortal?

Recommended Posts

I could make the Static ZU-23 immortal, I use: this addEventHandler ["HandleDamage", {false}];

But I couldn't make the ai gunner be immortal.. How do you make him immortal???

Edited by frezinator

Share this post


Link to post
Share on other sites

An alternative method to achieve immortality:

* Place a manned ZU-23

* Name the ZU-23, for example aagun

* Put in the initline of the ZU-23 an allowDamage false statement for both gun and gunner: aagun allowDamage false; aagunG allowDamage false;

One can address the gunner of a named ZU-23 by taking the name given to the unit and then adding a postfix capital G.

Regards,

Sander

Share this post


Link to post
Share on other sites
create an empty static gun and the driver separately, name the anti air gun something like, say, AAA. Put your event handler script in the init line of both units. In the troop's init line also put

this moveInGunner "AAA";

See if that works out.

http://community.bistudio.com/wiki/moveInGunner

It didn't worked :/ it gave me an error message.

An alternative method to achieve immortality:

* Place a manned ZU-23

* Name the ZU-23, for example aagun

* Put in the initline of the ZU-23 an allowDamage false statement for both gun and gunner: aagun allowDamage false; aagunG allowDamage false;

One can address the gunner of a named ZU-23 by taking the name given to the unit and then adding a postfix capital G.

Regards,

Sander

Thank you!!!! it worked!!!

Share this post


Link to post
Share on other sites

I found a problem guys.. I just tested in dedicated server, THe ZU-23 AI gunner won't shoot and move... How do I fix this?

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  

×