sixpack 10 Posted June 9, 2011 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
demonized 20 Posted June 9, 2011 use eventhandlers and setVariable maybe. make the eventhandler killed or hit and setVariable on the killer or shooter and then getVariable and if 5 player == ACE Share this post Link to post Share on other sites