View Full Version : A verb to get the amount of light?
The Orkin Man
01-28-2001, 09:48 PM
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!
Aglar
01-29-2001, 05:14 AM
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.
The Orkin Man
01-29-2001, 06:45 AM
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).]
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.