Jump to content
Sign in to follow this  
sixpack

Count destroyed planes (Flying ACE script)

Recommended Posts

I’m currently making a flying mission using the I44 mod, and would like help on creating a script (client side, I think) to count the number of enemy planes a player has killed (5 kills = ACE).

Now in the editor I have some planes placed (flying and grounded) as well as planes spawned via triggers using the BIS_fnc_spawnVehicle function.

Is there a way to check the scoreboard via script on planes killed by player and update the event to the player (hint “optional task completed: You became an ACEâ€).

Or add all my enemy plane class types into an array and count on !(alive) but killed by player.

Or is this a case where an EventHandler is needed on all enemy planes ?

If so please help a novice at scripts :confused:

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  

×