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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now