Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Printedfinger

  • Rank
  1. Much love @R3vo. Managed to get something done by this script. Thanks!
  2. @pierremgi Thanks as well. So, in fact i should just place a trigger directly on the object (house) - activation by player and so on - and inside onActivation you want me to insert the script or either call it by execVM? And it doesn't matter if my house doesnt have a classname since its a terrain object? Edit: Well, your script works flawless - it really seems to be this damn building i chose. Other buildings which behave as normal building (not terrain object, whatever) with the 'edit' map module work fine with your script.
  3. Alright @pierremgi - readded the whole title/text. As said before, deleted it asap after posting. Won't do that again in future, sorry for the troubles.
  4. Hey pierre. Didn't sleep this night, its a bit stressful rn. First of all, thanks for your time and answer! Sorry - i deleted my stuff like, pretty fast so nobody has to waste time on me. Didn't know anybody was about to react so fact. Please remember i'm just human, as all of you lol. Btw, i tried your script out. Placed a trigger and named it trigHouse, inserted your script. Give me a second to re-write my post so it doesn't look confusing. Regards, Printed
  5. 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