[SBARINFO] Making the status bar vanish

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

[SBARINFO] Making the status bar vanish

Post by The Ultimate DooMer »

Is it possible to make the status bar vanish at certain points in the game without the user doing anything?

(I'm considering replacing my scripted hud with an sbarinfo one but I want it to vanish during the intro, endings & credits cinematics)
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: [SBARINFO] Making the status bar vanish

Post by NeuralStunner »

Yes. Give the Player a specific Inventory item when you want it to vanish, then wrap the whole status bar in an "InInventory Not" block that checks for that item. (This would only work well if it's a "fullscreen" style, I.E. Height 0, otherwise you'd end up with HOM where the bar should be - Of course you could draw a blank box there for story text!)

Edit: Agh spelling. -.-
Last edited by NeuralStunner on Mon Sep 20, 2010 3:24 pm, edited 2 times in total.
Blzut3
 
 
Posts: 3213
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: [SBARINFO] Making the status bar vanish

Post by Blzut3 »

NeuralStunner wrote:otherwise you'd end up with HOM where the bar should be
Not if you use completeborder.
Locked

Return to “Editing (Archive)”