武装突袭3

武装突袭3

43 个评价
Universal Code Lock
   
奖励
收藏
已收藏
取消收藏
Data Type: Scenario
Scenario Gameplay: Singleplayer, Multiplayer, Coop
Scenario Map: VR
文件大小
发表于
37.536 KB
2018 年 5 月 27 日 下午 7:02
1 项改动说明 ( 查看 )

订阅以下载
Universal Code Lock

描述
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
11 条留言
Prodigy 2022 年 12 月 26 日 下午 12:21 
Manual Download does not work, it says it was deleted.
Erigon 2022 年 6 月 5 日 下午 12:22 
this is some beautiful stuff right here .. i want to put it in my open world mission but i need the files.. DL link wont work for me.. any help would be great :)
The Shadowbroker 2021 年 9 月 26 日 上午 12:20 
why not do a composition? why the runaround?
Ravenger2709 2021 年 9 月 25 日 上午 8:33 
Hi! I merge script to my mission, but doors dont locked. In your demo mission its worked 50/50.
Sanchez 2019 年 10 月 16 日 下午 4:20 
the manual download link is broken
Six 2019 年 8 月 20 日 下午 4:51 
Will this work during a scenario? (tablet placement)
ClimberBill 2019 年 1 月 3 日 上午 1:49 
@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  [作者] 2019 年 1 月 2 日 下午 4:53 
@ClimberBill I honestly cannot remember
ClimberBill 2019 年 1 月 2 日 上午 5:08 
@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  [作者] 2018 年 9 月 10 日 上午 11:18 
@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]