Begin MyLightScheduleshort control_fire ;don't know what this is used for; The script is attached to an NPC that guards the fire.;******* this controls the fires schedule:if ( GetDistance, my_firepit < 600 ) ;you may not need this part If ( GameHour < 20 ) if ( my_light->GetPos Z >= 400 ) my_light->MoveWorld z, -0.1 ; Move fire down else my_light->disable endif elseif ( GameHour >= 20 ) my_light->enable if ( my_light->GetPos Z < 511 ) my_light->MoveWorld z, 0.1 ; move fire up else my_light->enable endif endifendifend
Begin MyLightScheduleshort control_fire ;don't know what this is used for; The script is attached to an NPC that guards the fire.;******* this controls the fires schedule:if ( GetDistance, my_firepit < 600 ) ;you may not need this part If ( GameHour < 20 ) if ( my_light->GetPos Z >= 400 ) my_light->MoveWorld z, -0.1 ; Move fire down else my_light->disable endif elseif ( GameHour >= 20 ) my_light->enable if ( my_light->GetPos Z < 511 ) my_light->MoveWorld z, 0.1 ; move fire up else my_light->enable endif endifendifend
Begin AAA_Fireif ( GameHour < 7.9 ) elseif ( GameHour < 8.1 ) aaa_My_Light-> disableelseif ( GameHour < 19.9 ) elseif ( GameHour < 20.1 ) aaa_My_Light-> enableendifend