Steel_Dragon 30 Posted August 29, 2019 I am running Altis Life v5.0.0 I am trying to lock multiple doors - e.g. in the Police station building - this building has 15 doors. I would like only the Police to be able to open and close them. I have got this working in the init of the building, but it only works on one door - BG_3 animate ["Door_2_rot", 0]; if (playerSide == civilian) then {this setVariable ["bis_disabled_Door_2", 1, false];} I am unsure what the format is to add the rest of the doors, I have tried the following with no success - BG_3 animate ["Door_2_rot", && "Door_4_rot", 0]; if (playerSide == civilian) then {this setVariable ["bis_disabled_Door_2", && "bis_disabled_Door_4", 1, false];} BG_3 animate ["Door_2_rot" || "Door_4_rot", 0]; if (playerSide == civilian) then {this setVariable ["bis_disabled_Door_2" || "bis_disabled_Door_4", 1, false];} Thank you 1 Share this post Link to post Share on other sites
Steel_Dragon 30 Posted August 29, 2019 SOLVED - BG_3 animate ["Door_2_rot", 0]; if (playerSide == civilian) then {this setVariable ["bis_disabled_Door_2", 1, false];}; BG_3 animate ["Door_4_rot", 0]; if (playerSide == civilian) then {this setVariable ["bis_disabled_Door_4", 1, false]; } 3 Share this post Link to post Share on other sites