How to detect when in craftingmerchant menu?

Post » Wed Jun 20, 2012 10:53 pm

Hi there,

my mod has some scripts running that I want to suspend in situations where the player is crafting, bartering or doing whatever is not normal gameplay. But how to detect those situations?
  • The WIki said that crafting is done in game mode, so IsInMenuMode won't work. It suggests IsFurnitureInUse but this method needs a reference to work on whereas I want to know if the player is using any furniture.
  • Did someone try if IsInMenuMode works with merchant menus? I doubt so, afaik during bartering you aren't immune against enemies.
A SKSE function would also be welcome.

Thanks in advance
User avatar
Tha King o Geekz
 
Posts: 3556
Joined: Mon May 07, 2007 9:14 pm

Return to V - Skyrim