I was wondering if it's possible to override the use of the map since the latest DevBlog 179. I would like to bring back the fact that the item map is useful and you can't always see the map. I just want to null out the action of using the map if it's not in your hotbar.
I'm trying to prevent being able to use the map unless you actually have the item. I know it's uncraftable but it still csn be spawned in.
Override map bind usage?
Discussion in 'Rust Development' started by Dogmais, Oct 3, 2017.
-
Wulf Community Admin
How do you currently open the map if it's not in your hotbar? If there is a default key still in Rust, then you'd likely need to intercept OnPlayerInput and return to cancel the item being used if that specific key is detected (if possible). The OnItemUse hook might trigger for that, but doubt it.
-
Unfortunately i already tried looking into this for the terminus servers but this is what i got told.
Solved - Removing a key bind? | Oxide