NoxCorporatus
Member
Posting here since levanan hasn't seemed to log in since March 2012. Levanan's light circle script seems to be doing exactly what I need as simply as possible (have tried four or five different scripts so far).
Now, the problem I'm facing is that I want the hero to be able to turn off and on light sources, like candles or fireplaces. Which works just fine, except for the flickering effect of the events. If I change the $flick function, it only affects the hero's personal light source (as far as I know). If I set the default flicker for the event, it flickers even if the light strength is at 0.
Examples:
I'm a very basic scripter, but I tried to figure it out on my own. I tried using $flick[1]=50, which returned a script error once I tried to light the candle. I tried editing the script, changing $flick=0 into $flick[0]=0, which not too surprisingly returned a script error on playtesting. I've tried to look through the rest of the script to see where the events get their flickering from, but it must use another term altogether and I have no clue as to which it uses, and how to change that.
I've gone over the topic conversation several times, trying to see if there's something I've missed, but haven't found anything. His demo doesn't offer any help either, as it only has static light events.
Is there anyone who can help?
Now, the problem I'm facing is that I want the hero to be able to turn off and on light sources, like candles or fireplaces. Which works just fine, except for the flickering effect of the events. If I change the $flick function, it only affects the hero's personal light source (as far as I know). If I set the default flicker for the event, it flickers even if the light strength is at 0.
Examples:
Result: The unlit candle randomly flickers to life.Comment: 1 (event number)
Comment: 0 (light strength)
Comment: 50 (light flickering)
Result: The unlit candle doesn't flicker, but neither does the lit candle when I light it with $sensitivity_2[1]=50.Comment: 1
Comment: 0
Comment: 0
I'm a very basic scripter, but I tried to figure it out on my own. I tried using $flick[1]=50, which returned a script error once I tried to light the candle. I tried editing the script, changing $flick=0 into $flick[0]=0, which not too surprisingly returned a script error on playtesting. I've tried to look through the rest of the script to see where the events get their flickering from, but it must use another term altogether and I have no clue as to which it uses, and how to change that.
I've gone over the topic conversation several times, trying to see if there's something I've missed, but haven't found anything. His demo doesn't offer any help either, as it only has static light events.
Is there anyone who can help?