
Originally Posted by
ArmAriffic
I want to make an AI ZU or a Shilka fire into the air like in Libya or when Baghdad was being invaded, how can i do this?
Actually, you can make something easier. In order to create a kind of battlefield atmosphere that the night sky is lightened by the AA bullets, you can put several enemy plane on the sky and make them unrivled and invisible by useing:
Code:
this setdamage false;
hideObject this;
Make them stop flying around by useing:
Code:
this enableSimulation false;
Then, put some AA guns on the ground and force them fire at the sky:
Code:
_handle = this fireAtTarget [Airtarget1,Weapon classname];
Create a loop to make sure that this guy can fire unlimited bullets so it may last longer:
Code:
loop = [] spawn {while {true} do {this setVehicleAmmo 1; sleep 60;}};
Make the AA gun always being there and not being destoried by enemies, you can use:
Code:
this setcaptive true;
You can take my suggestion for a reference. Good luck