View Single Post
04/21/15, 06:01 AM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Quick & dirty

Lua Code:
  1. if IsPlayerControllingSiegeWeapon() then
  2.        
  3.         SIEGE_BAR_UI_SCENE:RemoveFragment(UNIT_FRAMES_FRAGMENT)
  4.         SIEGE_BAR_SCENE:RemoveFragment(UNIT_FRAMES_FRAGMENT)
  5.        
  6.         SIEGE_BAR_UI_SCENE:RemoveFragment(COMPASS_FRAME_FRAGMENT)
  7.         SIEGE_BAR_SCENE:RemoveFragment(COMPASS_FRAME_FRAGMENT)
  8.        
  9.         SIEGE_BAR_UI_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
  10.         SIEGE_BAR_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
  11.        
  12.         SIEGE_BAR_UI_SCENE:RemoveFragment(PLAYER_ATTRIBUTE_BARS_FRAGMENT)
  13.         SIEGE_BAR_SCENE:RemoveFragment(PLAYER_ATTRIBUTE_BARS_FRAGMENT)
  14.        
  15.         CHAT_SYSTEM.control:SetHidden(true)
  16.         --KEYBIND_STRIP.control:SetHidden(true)
  17.    
  18.     end


With this you'll able to fire on your ennemies.
When you are on "hidden" ui mode and go back to the default ui mode, you must add the fragments with AddFragment, same for CHAT_SYSTEM.

Then, you'll got the KeyBbind Strip. Just remove the Alt Button. For the fire button, you only need to hide it too.

For the MiniMap, that's because this one is hidden when you enters in a Scene (a menu).
Authors can add something if scene == siege then show end


  Reply With Quote