

What would be far more useful is an ability to lock the car from the inside as a driver, without needing keys, and having that built into epoch itself rather than having to add it via custom script (which is totally possible, check, takistan life revolution code, etc). Besides, we got safes, so I dont see this as a real issue, except when transporting goods to be sold. Truth be told, what will happen next is that vehicle being blown up by the player who cant access the gear. Waking up for an early start, Victor Troska grabbed his.

The story is set in 1982, and has Troska assume command of an anti-Soviet partisan movement after the country is invaded by forces led by Colonel Aleksei Guba. So in the end its not a real fix, but a work around to prevent most of a players ability to loot a locked vehicle. ArmA: Cold War Assaults Resistance campaign has players take control of Victor Troska, a former special forces operative turned civilian living on the island nation of Nogova.
#ARMA 2 TAKISTAN LIFE HOW TO OPEN INVENTORY FREE#
Only problem I can forsee is that if a player is dysnced, will this still detect them opening the gear? If not they might have free access to take what they want, or worse, if they have a slight lapse and resync then dysnc again while that menu is open, they might get stuck with controls disabled until they resync again. Besides, shenanigans like these were still very much prevalent in ArmA II Takistan Life, City Life, and DayZ servers.
#ARMA 2 TAKISTAN LIFE HOW TO OPEN INVENTORY CODE#
Adding a message saying cannot access gear of locked vehicle will be easy to do at the end of the code so new players are not confused. This kind of functionality is already written in some code using finddisplay, and disabling player controls can be done with disableUserInput.So the only bit would be detecting something like when the player is near a locked object and/or their cursor target of the object they are looking at is locked, then executing this code. Just an idea, and by no means a proper solution but might be something easy to do that would not cause any kind of lag.ĭetect when the player is accessing the gear of a locked vehicle, and have it immediately close the gear menu, and disable all controls while that gear menu is open for the milisecond it will pop up, thus disabling their ability to successfully loot it.
