Checking the sector where the player is's brightness.

Status
Not open for further replies.

Lat'

Absolute territory where
Kart Krew™️
Sorry if the question isn't formulated correctly or if it is dumb, I mean to check the brightness of the sector the player is inside. (For instance if I want something to happen when the brightness is over or equal 50.)

Thanks in advice, and sorry if I went over a thing made just for it ><
 
According to the Wiki, it should be mobj.subsector.sector.lightlevel, ranging between 0-255.

Edit: Some people might refer to it as player.mo.subsector- instead of mobj.subsector-
 
Last edited:
Thanks for the help this worked perfectly :3
Anyway, I can now start what my ideas told me to do~
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top