Merbau Posted July 29, 2015 Report Share Posted July 29, 2015 Anyone now how can i make it? Are there any damage value for each building items or it need to be done by some script? Link to comment Share on other sites More sharing options...
0 mumys Posted July 29, 2015 Report Share Posted July 29, 2015 Hello, This topic is discussed often: You need to run some lines of code to get the job done but its not so hard. Read trough this posts: Best regards Mumys Link to comment Share on other sites More sharing options...
0 happydayz Posted July 29, 2015 Report Share Posted July 29, 2015 Basically you want to load this up on the server (no need to have it in the client files) ----- /* File: Indestructable.sqf Description: Make stuff not blow up */ diag_log format['Enigma %1 - Starting Indestructable.sqf',time]; sleep 80; while {true} do { _indestructible = (allMissionObjects "Constructions_static_F") + (allMissionObjects "PlotPole_EPOCH"); { if (!((_x isKindof "WoodLargeWallDoorL_EPOCH") or (_x isKindof "WoodLargeWallDoor_EPOCH") or (_x isKindof "WoodStairs_EPOCH") or (_x isKindof "WoodStairs2_EPOCH") or (_x isKindof "WoodRamp_EPOCH") or (_x isKindof "WoodLargeWall_EPOCH") or (_x isKindof "WoodFloor_EPOCH") or (_x isKindof "WoodLargeWallCor_EPOCH") or (_x isKindof "WoodLargeWallDoorway_EPOCH"))) then { _x addEventHandler ["HandleDamage", {false}]; _x enableSimulation false; }; } count _indestructible; sleep 300; // run every 5 minutes }; diag_log format['Enigma %1 - Completed Indestructable.sqf',time]; Link to comment Share on other sites More sharing options...
0 Merbau Posted July 29, 2015 Author Report Share Posted July 29, 2015 Thx Guys for answer. Happydayz If I understand correctly your script I should put it in SQF file. That file should go to into my mission.pbo file? Link to comment Share on other sites More sharing options...
0 happydayz Posted July 30, 2015 Report Share Posted July 30, 2015 The one I put in is to go server side as no need to put it in your mission file. If no one posts tonight how to do it I'll try and show when I get home. Link to comment Share on other sites More sharing options...
0 happydayz Posted July 30, 2015 Report Share Posted July 30, 2015 See this post ---- Link to comment Share on other sites More sharing options...
0 Merbau Posted July 30, 2015 Author Report Share Posted July 30, 2015 THX Happy You R the best :) all working fine. :lol: happydayz 1 Link to comment Share on other sites More sharing options...
0 happydayz Posted July 30, 2015 Report Share Posted July 30, 2015 your welcome. I hoped it did i nver tested it haha just had some old files and modified them to suit u. cheers. Link to comment Share on other sites More sharing options...
0 flow0815 Posted July 30, 2015 Report Share Posted July 30, 2015 search for Community.pbo this has included the script and others Link to comment Share on other sites More sharing options...
Question
Merbau
Anyone now how can i make it? Are there any damage value for each building items or it need to be done by some script?
Link to comment
Share on other sites
8 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