yes exacly, otherwise, i guess it will get zero position, :s though maybe thats not the solution to your problem.
ok you set skill1 to the x positio of the light source..
the sun_objecta, is a object entity , that has a function that will assign sun_objecta to that action, then the light will be from that object you place in wed.