Originally Posted by LoPony
Any possibility to have some control about this?
Currently it hides the UI if you use siege weapons, I would like to remove that behavior.
edit: well I just found it. This does the job
Code:
SCENE_MANAGER.scenes.siegeBar:RegisterCallback( 'StateChange', function( oldState, newState )
if( newState == 'showing' ) then
myControl:SetHidden( false )
end
end )
|
I think that the proper way is to add your fragment to siege scene:
Lua Code:
SCENE_MANAGER:GetScene("siegeBar"):AddFragment( fragment )