Change only the floor light via ACS?

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
Ravick
Posts: 1989
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil

Change only the floor light via ACS?

Post by Ravick »

Hi there.

I vaguely remember being able to change the light of sector's floors in ACS in some old wad, leaving ceiling and walls alone. But maybe I'm having some "Mandela Effect", as I'not being able to find it on the wiki (?)

I've seen Transfer_FloorLight, but it requires a dummy sector in the map.

Is there an ACS special for it that allows me to just give a value to a sector's floor light, without setting it to a dummy sector?

As always, thanks in advanced! :)
User avatar
Player701
 
 
Posts: 1553
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support

Re: Change only the floor light via ACS?

Post by Player701 »

If you're using UDMF, you can set the ceiling/floor light levels directly in the editor. But I don't think there are any ACS functions for that. It might warrant a feature suggestion, provide one doesn't already exist.
User avatar
Ravick
Posts: 1989
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil

Re: Change only the floor light via ACS?

Post by Ravick »

Thanks. I'll do that. :)

Return to “Scripting”