If I do this when using the default HUD:
Code: Select all
log(this.name, "Big Allowed: " + player.ship.hudAllowsBigGui);
But if I do this:[MyOXP]: Big Allowed: false
Code: Select all
player.ship.hudHidden;
log(this.name, "Big Allowed: " + player.ship.hudAllowsBigGui);
This appears to be a mix-up in concepts. On the one hand, the HUD definition says it doesn't allow big GUIs. Using this logic,[MyOXP]: Big Allowed: true
hudAllowsBigGui
should always return false. Here we are referring to the allow_big_gui
property of the HUD plist file that is currently selected, not the current state of the players view. On the other hand, if the HUD is hidden it by definition allows for big GUI's, so hudAllowsBigGui
should always return true. Here we are referring to the current view the player has of the HUD.Given that
hudHidden
is already giving us the current view the player has of the HUD, I think hudAllowsBigGui
should be corrected to always report on the allow_big_gui
property of the currently selected HUD.