[DECORATE] Any "Hudmessage" Emulation?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Endie
Posts: 227
Joined: Thu Mar 16, 2017 7:34 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Somewhere in the void

[DECORATE] Any "Hudmessage" Emulation?

Post by Endie »

Why do i need this?
Well, i'm currently working hard on SRGEM, and, i'm creating a enemy who will stun the player using a projectile.

Ok, but where does the hudmessage takes place in?

Simple, when stunned, i want the player to have a "Dirty lens" (A.K.A Bokeh effect) at it's maximum, and then it fades out after a certain time.

Is there any way to do this via DECORATE lumps? (it's kinda outdated, i know, but it's the only scripting i know for now. sometime soon i'll learn something about ZScript, but of course learning takes time, and, i want to add this enemie ASAP)
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: [DECORATE] Any "Hudmessage" Emulation?

Post by Mikk- »

There's no hud message functionality in DECORATE aside from A_Print which is too limited to do what you can do - you can however call an ACS script that does what you want from DECORATE quite easily.

Return to “Scripting”