Page MenuHomeFeedback Tracker

Add "lockInventory" and "lockedInventory" commands.
Closed, ResolvedPublic

Description

Similar to the regular "lock" command, please consider adding the "lockInventory" and "lockedInventory" commands.
-> unit lockIventory Boolean
-> Boolean = lockedInventory unit

The idea behind those would be to disable the player from beeing able to access the contents of a Vehicle/Object.

This should work for all objects with a cargospace.

  • Vehicles
  • Ammoboxes
  • Weaponholders

Similar to the "lock" command, the effect should only be local which would make this a very useful command both in singleplayer and multiplayer.

Applications include (but are not limited to):

  • Missions where equipment is hard to come by or boxes have to be unlocked first (agreed, that part could also be realized by clearing/adding the contents)
  • personal lockboxes in MP (that do not rely on making a local copy of the box)
  • equipment caches or secured transport vehicles that are only accessible to one team
  • player blocked from picking up anything (for example when hes playing as a restrained hostage)
  • weaponholders as decoration – without people beeing able to pick them up or put more stuff into them
  • weaponholders as decoration – without cluttering the actionmenu

I do assume that this would be relatively simple to accomplish but has great benefit for missionmakers and scripters. Both for simplification and for realizing things that would not otherwise be possible.

Details

Legacy ID
3403056958
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Feature Request

Event Timeline

Tajin edited Steps To Reproduce. (Show Details)Oct 14 2013, 10:41 AM
Tajin edited Additional Information. (Show Details)
Tajin set Category to Feature Request.
Tajin set Reproducibility to Always.
Tajin set Severity to None.
Tajin set Resolution to Fixed.
Tajin set Legacy ID to 3403056958.May 7 2016, 5:08 PM
AD2001 added a subscriber: AD2001.May 7 2016, 5:08 PM

Related to/duplicate #0014755

Resolved with awhile ago with inventory EH that could be overridden.