Akku14 Posted July 3, 2016 Report Share Posted July 3, 2016 hi guys a quick question how do i make a building "MBG_Killhouse_4_InEditor" in god mod will MBG_Killhouse_4_InEditor allowdamage false ; works ? Link to comment Share on other sites More sharing options...
0 juandayz Posted July 4, 2016 Report Share Posted July 4, 2016 @Akku14 allowdamege is local... works is every player had the file , i think. _this addEventHandler ["handleDamage", {false}]; is global , i use it for custom traders and vehicles added by arma2oaeditor... dont know if works with buildings but try. example: _vehicle_50 = objNull; if (true) then { _this = createVehicle ["Land_covering_hut_big_EP1", [6348.437, 7788.6201, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir -55.186554; _this addEventHandler ["handleDamage", {false}]; }; Seelanpro 1 Link to comment Share on other sites More sharing options...
0 Shawn Posted July 5, 2016 Report Share Posted July 5, 2016 I use this to make any buildings/items indestructible: Just add MBG_Killhouse_4_InEditor in the indestructible array. Seelanpro and juandayz 2 Link to comment Share on other sites More sharing options...
0 Akku14 Posted July 7, 2016 Author Report Share Posted July 7, 2016 Thanks @juandayz and @Shawn both of your idea works well juandayz 1 Link to comment Share on other sites More sharing options...
Question
Akku14
hi guys
a quick question how do i make a building "MBG_Killhouse_4_InEditor" in god mod
will
MBG_Killhouse_4_InEditor allowdamage false ;
works ?
Link to comment
Share on other sites
3 answers to this question
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