Habu_69 Posted April 11, 2018 Posted April 11, 2018 What are valid values for the remaining life of a DCS Group?
VZ_342 Posted April 11, 2018 Posted April 11, 2018 To have fun, and perpetuate the species (i.e., increase the numbers of DCS players)
71st_AH Rob Posted April 12, 2018 Posted April 12, 2018 To have fun, and perpetuate the species (i.e., increase the numbers of DCS players) +1
feefifofum Posted April 12, 2018 Posted April 12, 2018 :lol: Of a group? Unit level is 0-100 where 0 is totally destroyed and 100 is undamaged. You could multiply by the number of vehicles remaining but not sure how you'd check it.. What is the endgame of I may ask? I might have another suggestion. THE GEORGIAN WAR - OFFICIAL F-15C DLC
Pikey Posted April 13, 2018 Posted April 13, 2018 You say DCS group. You mean unit because getLife() and getLife0() are for units, right? http://wiki.hoggit.us/view/DCS_func_getLife http://wiki.hoggit.us/view/DCS_func_getLife0 The % can be worked out as a combination of both. Else if you mean group, you could use http://wiki.hoggit.us/view/DCS_func_getInitialSize and divide by the current size to get it's decrement as a measure of unit count inside the group. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Habu_69 Posted April 15, 2018 Author Posted April 15, 2018 To have fun, and perpetuate the species (i.e., increase the numbers of DCS players) Goes without saying, but applicable to all human life, not only DCS.. The question was indeed meant for units, not groups. Purpose was to use values returned by getLife()for further script use.
Recommended Posts