Hi,
I would like to know what range those 2 variable has and if possible how to know which color will result from the lightcolor.
215 is the base value for utevo lux and it seem white/yellow, 29 seem to be blueish.
On what this color are based?
I want to know if it's possible to set an light condition like utevo lux but outsite of oncastspell and docombat.
Something like:
I would like to know what range those 2 variable has and if possible how to know which color will result from the lightcolor.
215 is the base value for utevo lux and it seem white/yellow, 29 seem to be blueish.
On what this color are based?
I want to know if it's possible to set an light condition like utevo lux but outsite of oncastspell and docombat.
Something like:
Code:
local condition = createConditionObject(CONDITION_LIGHT)
setConditionParam(condition, CONDITION_PARAM_LIGHT_LEVEL, 6)
setConditionParam(condition, CONDITION_PARAM_LIGHT_COLOR, 29)
setConditionParam(condition, CONDITION_PARAM_TICKS, (6 * 60 + 10) * 1000)
onlogin(cid)
setplayercondition(cid, condition)