How does Lasting light monster works? -Solved-

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!)
Post Reply
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

How does Lasting light monster works? -Solved-

Post by Niphura »

What i want to know is how they print the scary images on the screen when you look at the monster "The Creeper"...here's the script that uses (i don't understand his function)
Spoiler:
And here's the decorate from the creeper:
Spoiler:
The "genericitem" is defined here:
Spoiler:
I really want to know how it works to make a flashbang grenade (as it seen in other post with a different question)

EDIT: Here's the "weapon" from the player some lines in the script appears here so it may be important:
Spoiler:
Last edited by Niphura on Sat Dec 15, 2018 12:18 pm, edited 1 time in total.
RedFoxGamer
Posts: 12
Joined: Mon Nov 19, 2018 1:10 am

Re: How does Lasting light monster works?

Post by RedFoxGamer »

What I would do is use the SetFont(); command and change the “font” to the image on the screen and then use HUDMessage(); to show the image. That’s how I’ve always shown pictures on screen. Just be sure to run SetFont(“DoomFont”); afterwards if you need to show text on screen.

To display the picture, just print the letter A. Hudmessage(s:”A”;)
Post Reply

Return to “Scripting”