Yes, I know there's no IsModeEnabled(), that was just a pseudo line.
I was really hoping there was a quick work-around instead of having to use player.ActiveInventory == null.
Because using that means I need to go through all the rooms and set it to null where an item is used.
A bool is indeed an option but the player.ActiveInv will do fine.
If I only had thought of this from the start. *slaps forehead*
Thanx for the answer, Khris!
EDIT:
Also, I wasn't using inventory items, I only used custom mouse mode 8 and set a certain (inv) graphic to it.
Bad choice I guess...
I was really hoping there was a quick work-around instead of having to use player.ActiveInventory == null.
Because using that means I need to go through all the rooms and set it to null where an item is used.
A bool is indeed an option but the player.ActiveInv will do fine.
If I only had thought of this from the start. *slaps forehead*
Thanx for the answer, Khris!
EDIT:
Also, I wasn't using inventory items, I only used custom mouse mode 8 and set a certain (inv) graphic to it.
Bad choice I guess...