Grahame Posted January 4, 2020 Report Share Posted January 4, 2020 Want the DayZ SA broken windows effect for Livonia or maps that use its buildings (like CUP's Chernarus 2020 map) then run this script on your server on restart? { _house = _x; _hitPoints = "isClass _x" configClasses (configFile >> "CfgVehicles" >> (typeOf _house) >> "HitPoints"); { _hitpointname = (configName _x); if ("Glass" in _hitpointname) then { _house setHitPointDamage [_hitPointName, 1]; }; } forEach _hitPoints; } foreach ((getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition") ) nearObjects ["House", worldSize]); Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now