Colour Sliders like player-setup?

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
3saster
Posts: 199
Joined: Fri May 11, 2018 2:39 pm
Location: Canada

Colour Sliders like player-setup?

Post by 3saster »

Say I have an enemy class EvilMarine that uses the basic player sprites for animation. Is there a way to put RGB sliders in the menu to change the EvilMarine's colours, the same way that the player can do so in the player-setup?
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Re: Colour Sliders like player-setup?

Post by m8f »

Yep. Laser Sight does this. Basically, it reads color settings and sets the corresponding color to laser pointer actor every time it is shown.
Post Reply

Return to “Scripting”