Osiris
Osiris copied to clipboard
Add auto-use button like a magnet similar logic as Triggerbot
It was introduced in the previous versions but I don't remember if it was a bug or something else.
If the auto-use button is activated (the default is the 'e' button) the player should interact with the ammo box and cash duffle bag in DZ like a magnet.
The key idea is how to keep 'e' pressed while aiming at objects. i.e., what is the function responsible for aiming at objects?
Similar to Triggerbot; when aimed at the enemy shots fire. The correspondence is when aiming at objects like hostages, ammo boxes, lootcrates, cash cases, ... keep +use
button pressed.