Jump to content

How to stop users from knocking down the ATM


Recommended Posts

Ok I found a way to stop users from knocking down the ATMs and other objects.

 

You can do this for any object.

 

Open up banks.sqf in the .pbo file

 

I am not really going into detail on how about doing this as it would take a while to explain, but you can get the general idea from my banks.sqf

  Reveal hidden contents

Link to comment
Share on other sites

  • 2 weeks later...
  On 8/27/2014 at 10:15 AM, Soul said:

_this enableSimulation false;

 

does magic to

So I installed this, jumped in an SUV to test, galloped at the "infostand" and bam it's down (20 meters away from it's usual location).

I did some more testing (at other traders) they are like Rocky Balboa, keep coming back up when you beat em good. I think I hit the first one at a sweet angle or something?

 

Anyhow - this has been an improvement for us as it protects the poor infostand most of the time from attacks whereas our previous protection rate was zero.

 

Thanks for sharing.

Link to comment
Share on other sites

  On 8/31/2014 at 10:34 PM, mgm said:

So I installed this, jumped in an SUV to test, galloped at the "infostand" and bam it's down (20 meters away from it's usual location).

I did some more testing (at other traders) they are like Rocky Balboa, keep coming back up when you beat em good. I think I hit the first one at a sweet angle or something?

 

Anyhow - this has been an improvement for us as it protects the poor infostand most of the time from attacks whereas our previous protection rate was zero.

 

Thanks for sharing.

Well here is the good thing about the enablesimulation it only does it locally.

Meaning if you knock it down, it will only be knocked down for you no other players will see it knocked down.

Link to comment
Share on other sites

  On 9/1/2014 at 1:47 AM, Storm said:

Well here is the good thing about the enablesimulation it only does it locally.

Meaning if you knock it down, it will only be knocked down for you no other players will see it knocked down.

Excellent. It's better than I could come up with. Troublemakers will waste their time lol

Link to comment
Share on other sites

  • 5 months later...

can anyone elaborate on where exactly to add
_this setsimulation false


_vehicle_187 = objNull;
if (true) then
{
  _this = createVehicle ["FoldTable", [6221.2905, 4625.8779, -0.079633094], [], 0, "CAN_COLLIDE"];
  _vehicle_187 = _this;
  _this setDir 118.5292;
  _this setPos [6221.2905, 4625.8779, -0.079633094];
  _this enableSimulation false;
};

like so?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...