EVENT_ACTION_LAYER_POPPED/PUSHED did the trick.
*edit* I gave up on weapon sheated/unsheathed event to hide/display my mod (bad idea).
As for now only hide it when interface popped (or pushed never remember which one is what :P). I grabbed the LayerIds for the 'Esc' window and other Menu windows (which are only 2 Ids btw) - can't remember them right now but will post them later maybe in case anyone needs em.
IIRC : any basic layers (inventory - group window - skills - character - etc etc..) are layers 2 & 16 and loot window is 11.
Last edited by Edda : 04/10/14 at 02:41 AM.
|