sisco55 0 Posted April 6, 2008 How would I make a a script where you can see the total number of units killed in the mission so far in a box/window that comes up when you do something in the radio or walk into a certain area on the map? Also how would I make the same thing as above except that it would list some unit names and tell weather they were live or dead? Example- Pvt. John Doe - KIA Pvt. Jane Doe- Alive Share this post Link to post Share on other sites
DespairsRay 0 Posted September 27, 2008 I would like to know also. Like a visual cue box. To see how many have died in total and how many on each side. Share this post Link to post Share on other sites
Pulverizer 1 Posted October 5, 2008 1. Make arrays of units with triggers like {uEast=uEast+crew _x}foreach thislist 2. Store total number for each side like totalEast=count uEast 3. Add killed eventhandlers like {_x  addEventHandler[{Killed},{killedEast=killedEast+1}];} forEach uEast 4. Make radio trigger to output stuff like hint format [{%1 of %2 east killed}, killedEast, totalEast] Share this post Link to post Share on other sites
Kendo J 1 Posted October 6, 2008 What the pulveriser said is almost exactly what I am doing... at your base a guy has a action command you hit and a hint box appears with over all casualties! Messege me and I will send the scripts! it also has event handlers for the vehicles so when kill a tank you look at your casualty figures the three men in the tank are each given an infantry casualty +1 and the tank is armour casualty +1 so you have Russian casualties: 3 Armour: 1 Kendo Share this post Link to post Share on other sites
Kendo J 1 Posted October 17, 2008 here is the script over at OFPEC http://www.ofpec.com/forum....ch=3328 Kendo Share this post Link to post Share on other sites
DespairsRay 0 Posted December 4, 2008 Thank you guys so much. Share this post Link to post Share on other sites
Kendo J 1 Posted December 6, 2008 I hope the script is what you are looking for? It has been post on Ofpec for a while and not many people have been interested.... anyways good luck with it. Kendo Share this post Link to post Share on other sites
Kendo J 1 Posted February 22, 2012 Hello, this maybe a hopeless plea... BUT does anyone have my old script for this? I am trying to recreate what I did in OFP in Arma, excpet i have none of the scripts and the link although at OFPEC doesnt work. Also looking for my Dynamic mission template for OFP. Please help Kendo! Share this post Link to post Share on other sites