maturin 12 Posted February 21, 2013 To make a long story short, I want to prevent the player from demolishing the hospital in Berezino. It is an unrealistically fragile building amongst very durable apartment buildings that lack wreck models, and I don't want bits of it falling off for gameplay reasons. Is there any way to accomplish this? Share this post Link to post Share on other sites
marker 1 Posted February 21, 2013 Possibly place a couple of protections zones over it? Search for protectionzone_ep1 and a few threads will show you what to do.. Share this post Link to post Share on other sites
qbt 10 Posted February 22, 2013 Sure! Take a look at these commands: allowDamage enableSimulation When you disable the simulation of the object, no damage values will be broadcasted over the network and allowDamage will stop the building from taking any damage at all. You can get the object with the command nearestObject. Here's an example: _objHospital = (getPosATL player) nearestObject [i]<id>[/i]; _objHospital allowDamage false; _objHospital enableSimulation false; You can get the object id in the editor by clicking the "IDs"-button on the right and zooming in to a building. In this case, the ID of the hospital in Berenzino is 261904. Share this post Link to post Share on other sites
A-SUICIDAL 11 Posted February 22, 2013 You could also do this: Place a "Game Logic" on the hospital. Class: Locations Unit: Location And put this in the init: hospital = (position this nearestobject 261904); hospital addEventHandler ["HandleDamage", {false}]; Share this post Link to post Share on other sites
maturin 12 Posted February 22, 2013 Works like a charm. This community will really spoil you sometimes! Share this post Link to post Share on other sites