juandayz Posted July 1, 2017 Report Share Posted July 1, 2017 Small script for damage default cities. Do not use largest values on ratio... may causes lows fps. damage_cities.sqf Spoiler _target = [4185.0303,4157.5503,0];//change by your coords _damage_ratio=150; _server_houses= _target nearObjects ["HouseBase", _damage_ratio]; {_x setdammage 1} forEach _server_houses; and at bottom of init add: execVM "scripts\damage_cities.sqf"; Done! You also can add other things to damage.. for example _target = [4185.0303,4157.5503,0]; _damage_ratio=150; _server_x= _target nearObjects [["vehicles","Man"], _damage_ratio]; {_x setdammage 1} forEach _server_x; i dont know was usefull for me to simulate a nuclear dessease Cherdenko, harcosgoogle, Hooty and 1 other 4 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