Last active 2 hours ago
I guess you'll have to attach a "Killed" event handler to all units, check the side inside that EH and keep track of it that way.
BIS_fnc_endMission is called on dedicated servers, otherwise the mission wouldn't end. ^^ https://github.com/ALiVEOS/ALiVE.OS/blob/c3f7b268c90403a57b4887093af6455fe49728e1/addons/main/fnc_buttonAbort.sqf#L441
case "SAVESERVER" bit seems to be code that's not used anymore.
Just interested to see what's in there. Maybe something is off or whatever. :)
You can manually check the contents of
alive_mission_data). That's what ALiVE_fnc_getData and ALiVE_fnc_setData operate on.
No the highest, the lower the number the higher the density. The number is the minimum distance between CQB houses.
Basically it checks surrounding houses of a CQB building and if it's within a certain range (the density setting) it makes that building also a CQB building. Ranges being off (99999m), low (2000m), medium (1000m), high (700m) and very high (300m). Something like that. ^^
Oops, I misinterpreted the values. "Off" is the highest value and I assumed it was the highest density but it's actually used for a distance check between CQB houses. My bad. :D