rhys1573 10 Posted October 18, 2016 Is there any way i can script anything into Arma that will only enable cops to open certain doors. I would like to make a secret room for the lols but with a twist. Sorry to be a pain XD. Finally thank you in advance :) Share this post Link to post Share on other sites
johnnyboy 3795 Posted October 18, 2016 See this post for how to lock doors. You can then script logic so that only cops (checking your list of units desginated as cops, or units that have a "isCop"=True variable set for it). // Lock first door. Change bis_disabled_Door_1 to bis_disabled_Door_2 to lock 2nd door, etc. copHouse setVariable ['bis_disabled_Door_1',1,true] Share this post Link to post Share on other sites
rhys1573 10 Posted October 19, 2016 See this post for how to lock doors. You can then script logic so that only cops (checking your list of units desginated as cops, or units that have a "isCop"=True variable set for it). // Lock first door. Change bis_disabled_Door_1 to bis_disabled_Door_2 to lock 2nd door, etc. copHouse setVariable ['bis_disabled_Door_1',1,true] Okay cheers. Do you have any idea on where to put this piece of code? Share this post Link to post Share on other sites
Guest Posted October 19, 2016 Basicly initServer.sqf (But there are many other places depending on the framework you work with.) Share this post Link to post Share on other sites