Arma 3
ArmA 3 Custom Buildings - Original
DanniiMaree Aug 27, 2017 @ 7:43pm
Locking Buildings
Wondering if anyone knows how I would be able to lock the vault door by default? I tried bis_disabled_Door_1 etc etc but doesnt work.. thanks
< >
Showing 1-10 of 10 comments
JeidaR Aug 3, 2018 @ 12:28pm 
Anyone who has a solution to how to lock the doors to the bank building? Can someone provide ID to the different doors to create triggers. Someone who has done it?
DanniiMaree Aug 5, 2018 @ 4:57am 
Originally posted by JeideR:
Anyone who has a solution to how to lock the doors to the bank building? Can someone provide ID to the different doors to create triggers. Someone who has done it?

I have the solution, thanks.
Its a bit of stuff around, add me and ill help.
JeidaR Aug 5, 2018 @ 5:54am 
Originally posted by Drunken Cheetah:
Originally posted by JeideR:
Anyone who has a solution to how to lock the doors to the bank building? Can someone provide ID to the different doors to create triggers. Someone who has done it?

I have the solution, thanks.
Its a bit of stuff around, add me and ill help.

Good to hear :) If u paste the instruction here others may allso benifitt from it. Thx :)
MT519 Aug 15, 2018 @ 12:30pm 
any idea on how to open the doors to polices station/prison running this on my Altis Life 5.0 server.
DanniiMaree Nov 7, 2018 @ 11:31am 
You need to go-to fn_copInit.sqf and fn_medicInit.sqf and add this at the bottom somewhere

player setVariable["copLevel",1,true];

I am positive that's it, without looking. I could be wrong though
DanniiMaree Nov 7, 2018 @ 11:32am 
Originally posted by JeideR:
Originally posted by Drunken Cheetah:

I have the solution, thanks.
Its a bit of stuff around, add me and ill help.

Good to hear :) If u paste the instruction here others may allso benifitt from it. Thx :)

I think posting instructions here would be a bit confusing especially if you don't have the knowledge in sqf.
DanniiMaree Feb 7, 2019 @ 10:47am 
Originally posted by JeideR:
Anyone who has a solution to how to lock the doors to the bank building? Can someone provide ID to the different doors to create triggers. Someone who has done it?

Its complicated man.

Get Matt's unbin'd versions and make sure they all have numberOfDoors .. if not, add them.

For life servers its much more complicated to explain.
Last edited by DanniiMaree; Feb 7, 2019 @ 10:49am
szymanPL Mar 24, 2021 @ 6:46pm 
i do like this: put bank from editor list Land_CommonwealthBank, neme it (bank), put trigger around on activation opfor/blufor/civ, timer 1/1/1, in condition place: bank animate ["Vault_Door", 0]; and it is done, but the problem is to open it again.
szymanPL Mar 24, 2021 @ 6:49pm 

Originally posted by Drunken Cheetah:
Originally posted by JeideR:
Anyone who has a solution to how to lock the doors to the bank building? Can someone provide ID to the different doors to create triggers. Someone who has done it?

Its complicated man.

Get Matt's unbin'd versions and make sure they all have numberOfDoors .. if not, add them.

For life servers its much more complicated to explain.
it is maker fault, he is obligatoreted to repair it or give a solution,
szymanPL Mar 26, 2021 @ 4:45pm 
i found something like this in mod config, but it's don't work: path for this is:
x:\xx)\Steam\steamapps\common\Arma 3\!Workshop\@ArmA 3 Custom Buildings - Original\AddOns\mm_bank\script\mic

VaultOpen.sqf :

private["_veh_sl"];
_veh_sl = _this;
_veh_sl animate ["Vault_Combination", 1];
_veh_sl animate ["Vault_RotateUp", 1];
_veh_sl animate ["Vault_RotateDown", 1];
_veh_sl animate ["Vault_TransitionUp", 1];
_veh_sl animate ["Vault_TransitionDown", 1];
_veh_sl animate ["Vault_TransitionLeft", 1];
_veh_sl animate ["Vault_TransitionRight", 1];
sleep 4;
_veh_sl animate ["Vault_Combination", 0];
_veh_sl animate ["Vault_RotateUp", 0];
_veh_sl animate ["Vault_RotateDown", 0];
_veh_sl animate ["Vault_TransitionUp", 0];
_veh_sl animate ["Vault_TransitionDown", 0];
_veh_sl animate ["Vault_TransitionLeft", 0];
_veh_sl animate ["Vault_TransitionRight", 0];

while {alive _veh_sl} do {
if (_veh_sl animationPhase "Vault_Combination" > 0 && getdammage _veh_sl < 0.9) then
{
sleep 4;
waitUntil {(_veh_sl animationPhase "Vault_Combination" == 1)};
_veh_sl animate ["Vault_Door", 1];
waitUntil {(_veh_sl animationPhase "Vault_Door" == 1)};
waitUntil {(_veh_sl animationPhase "Vault_Door" == 0)};
_veh_sl animate ["Vault_Combination", 0];
_veh_sl animate ["Vault_RotateUp", 0];
_veh_sl animate ["Vault_RotateDown", 0];
_veh_sl animate ["Vault_TransitionUp", 0];
_veh_sl animate ["Vault_TransitionDown", 0];
_veh_sl animate ["Vault_TransitionLeft", 0];
_veh_sl animate ["Vault_TransitionRight", 0];
}
else
{
waitUntil {(_veh_sl animationPhase "Vault_Combination" > 0 && getdammage _veh_sl < 0.9)};
};
};
exit;
------------------------------------------------------
VaultClose.sqf :

_Vault = _this select 0;

_Vault animate ["Vault_Door", 0];
exit;

------------------------------------------------------
Bank_init.sqf :
if (isServer) then {exit};

private["_car"];
_car = _this select 0;
_car execVM "\mm_bank\script\mic\VaultOpen.sqf";
exit;




-----------------------------------------------------
< >
Showing 1-10 of 10 comments
Per page: 1530 50