Hey ppl,
I have put all light markers only as 'dynamic entities' throughout my level to speed up the build time (and hopefully increase the fps during run time)
But I was not satisfied with the default light1.fpi script which was
Quote: ":state=0:state=1
:state=1,activated=0:state=2,lighton
:state=2,activated=1:state=1,lightoff"
For some reason, the lights remained off...and switched on only when I was awefully close to the light (maybe 8-9 ingame blocks)
So in some corridors (around 10 ingame blocks long), I can actually see the light switching on and off as I take a step forward or backward
So instead, I made this script to help me out and I renamed this script as light1.fpi so that all my lights would follow this main script:
Quote: ":state=0:state=1
:state=1,plrdistwithin=1500:state=2,lighton
:state=2,plrdistfurther=1501:state=1,lightoff"
But for some unknown reason, the lights still switch on at the same distance (around 8-9 ingame blocks)
I dont know what I am doing wrong here.
Can someone help me out please? thank you
-- n00b at playing games...and now at making em too :p --