Arma 3
Not enough ratings
Universal Code Lock
 
Rate  
Favorite
Favorited
Unfavorite
Data Type: Scenario
Scenario Gameplay: Singleplayer, Multiplayer, Coop
Scenario Map: VR
File Size
Posted
0.036 MB
May 27, 2018 @ 7:02pm
1 Change Note ( view )

Subscribe to download
Universal Code Lock

Subscribed
Unsubscribe
Description
Example mission for demonstration. Tested on Vanilla maps.

Description:
Allows you to set a code lock to any door that you placed a tablet next to for your mission.

How To Use:
Simply place down a tablet next to any door you want to use this on and the script takes care of the rest :)

Features:  
Set Door code
Change Door code
Unlock Door
Lock Door

Installation:
https://www.youtube.com/watch?v=Nv0Sztm4nH4

Download:
https://www.dropbox.com/s/8fzzjtyz24iker9/kitty_lockFolder.rar?dl=0

Bohemia forum linke: updated 5/28/2018
https://forums.bohemia.net/forums/topic/217011-universal-door-code-lock/

Updated download link to latest version.
Switched to a more reliable way of retrieving the buildings.
Set ability to use both regular tablet and rugged tablet.

To do list:
Pass in default parameters so the user can set it if they want the doors locked/unlocked by default on mission start as well as setting a default code
< >
7 Comments
Sanchez Oct 16, 2019 @ 4:20pm 
the manual download link is broken
Fell Aug 20, 2019 @ 4:51pm 
Will this work during a scenario? (tablet placement)
ClimberBill Jan 3, 2019 @ 1:49am 
@IM SORRY BUFFALO Thank you for the reply I will keep working with it to see if I can get it to work.
IM SORRY BUFFALO  [author] Jan 2, 2019 @ 4:53pm 
@ClimberBill I honestly cannot remember
ClimberBill Jan 2, 2019 @ 5:08am 
@IM SORRY BUFFALO Where would I post the code that you have listed below. Would I put that in one of the sqf's or in the init of the tablet, if it goes in the sqf, what one? Any help would be great.
IM SORRY BUFFALO  [author] Sep 10, 2018 @ 11:18am 
@Rico i was working on a new version of this many months ago(this was just made for someone that was trying have a simple code lock system) that took in multiple parameters such as an initial code, lock/unlock all doors in building or individual doors and so on. unfortionatly that build has not been touched in several months without the plans of finishing it, this is not very popular so i dont have a urge to redo it. however, if you can get the object(tablet) then you could use setVariable to set the code initially like so
[code]
_newCode = 1234;
tablet1 setVariable ["theCode", _newCode, true];
tablet1 setVariable ["hasCode", true, true];
if (_newCode == "") then
{
tablet1 setVariable ["hasCode", false, true];
};
[/code]
RicoArma Sep 10, 2018 @ 3:04am 
Hey, Good works!
Tell me, if it possible to put a code before make it in game? If we can Set a door code before start the game? That's possible to put it in somewhere in the sqf?