ever wanted to add night day dawn or dusk to your server?
you can with this action type easily
Code:
ACTION_MAP_CHANGELIGHT = 311, // revises plays the family map's brightness. param= " idmap light secs ", light=0xAARRGGBB (the 0xFFFFFFFF expression restores), secs is 0: Expresses the permanent change
here is a list of numerical values (most people prefer them to hex values)
for this action providing all of the different light ranges for any part of the day or night
Code:
9 0 0 311 0 %user_map_id 4281827553 1
10 0 0 311 0 %user_map_id 4281796155 1
11 0 0 311 0 %user_map_id 4281827553 1
12 0 0 311 0 %user_map_id 4281811399 1
13 0 0 311 0 %user_map_id 4281807801 1
14 0 0 311 0 %user_map_id 4281802411 1
15 0 0 311 0 %user_map_id 4281798551 1
16 0 0 311 0 %user_map_id 4281797488 1
17 0 0 311 0 %user_map_id 4281796687 1
18 0 0 311 0 %user_map_id 4281796155 1
19 0 0 311 0 %user_map_id 4294967295 1
20 0 0 311 0 %user_map_id 4281811399 1
21 0 0 311 0 %user_map_id 4281802411 1
22 0 0 311 0 %user_map_id 4294967295 1
23 0 0 311 0 %user_map_id 4294967295 1
24 0 0 311 0 %user_map_id 4281827553 1
25 0 0 311 0 %user_map_id 4281811399 1
if you use these for main maps you should add this to the npc to enter the map or some other first action as it will not remain in effect if the player relogs (as it is not set to permanent to prevent errors or complaints) and will need to be set again in that case
if you wish to make the change permanent simply change the 1 at the end of the line to a 0
duration does not work properly use an action to change the light back to the default value at the end of your desired time period
its as simple as night and day