I am trying to implement on map encounters. I have an invisibility potion that activates stealth mode to avoid enemies, but I still want to be able to activate certain events like treasure chests or interact with npcs while in stealth. Problem is it breaks stealth mode each time I interact with those things.
My current solution is to create a conditional branch on chests and save points that checks if stealth is activated and then reapplies it. But I'd rather not do that for every npc in the game. Is there a simpler solution?
My current solution is to create a conditional branch on chests and save points that checks if stealth is activated and then reapplies it. But I'd rather not do that for every npc in the game. Is there a simpler solution?