Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → A verb to get the amount of light?
A verb to get the amount of light?
2001-01-28, 6:48 PM #1
Is there a cog verb that tells you how lit a thing is? It just has to be the regular sector light, not dynamic.

I want it so I can make the AI less able to see you when you're in a dark area.

Thanks!
2001-01-29, 2:14 AM #2
Well, is it a sector, or is it a thing? If it's a thing you would use: light = GetThinglight(thing); , if it's for a sector, lightval = GetSectorLight(sector);returns the extralight value.

------------------
Together we stand.
Divided we fall.
2001-01-29, 3:45 AM #3
I don't mean the extralight of a sector/thing, what I mean is the amount JK lights a thing, i.e. when you're in a dark sector Kyle is dark, and when you're in a light sector Kyle is light.

I need to get the value that JK uses to determine how much it lights Kyle (or any other thing).

Thanks for any help!

[This message has been edited by The Orkin Man (edited January 29, 2001).]

↑ Up to the top!