freghar / arma-additions

Other
4 stars 0 forks source link

Make fn_boxGuard use lockInventory, if possible #8

Closed freghar closed 3 years ago

freghar commented 3 years ago

https://community.bistudio.com/wiki/lockInventory (new in v2.00) instead of the ugly UI hacks the function does now.

Make sure the ACE3 interaction menu inventory opening doesn't work.

freghar commented 3 years ago

This wouldn't work well - the current code is able to check, upon opening attempt, whether the box was moved far enough away from its starting position. A code using lockInventory would have to have some periodic checking, which arguably doesn't justify the cleaner denial mechanism.