Search the Community
Showing results for tags 'open door'.
Found 1 result
-
(Script) Locking/opening a door with specific item/by specific player
Printedfinger posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey people and thanks in advance! Just wanted to add a lock/unlock (in this case unlock) function to my mission. When the mission initializes the specific door should be locked. Only the player that has the new key inventory item should be able to open the specific door. Tried several things but nothing worked, game logic, nearestobject and so on. Also the building i want to have the action on doesn't seem to be a normal object, more like a basic terrain object i guess? Because even the 'edit map objects' module only shows it when i click on 'others'. This script seems to lock a door whenever your cursor is on it. Not really a solution in my case. If possible i'd like to combine the whole action with BIS_fnc_holdActionAdd. To check if the player has a key or not i've used this here: I'm kinda new when it comes to scripting - only looking for a solution to get the whole thing done. Sry for deleting the post, re-added the whole text and explained my case. Thanks, Printedfinger