holla .. hätt ich nich gedacht , dass das so groß is *fg*
------------------script : "_dwemer clock" ---------------
begin _DwemerClock
Short OnPCEquip
short state
short button
float TempHour
short settings
If ( OnPCEquip == 1)
if ( Clock_showmoon == 1 )
startscript _Clock_MoonPhase
endif
if ( gamehour < 13 )
If (Month == 0)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 1 (Morning Star)", GameHour, Day, "Ok", "Settings"
elseif (Month == 1)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 2 (Sun's Dawn)", GameHour, Day, "Ok", "Settings"
elseif (Month == 2)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 3 (First Seed", GameHour, Day, "Ok", "Settings"
elseif (Month == 3)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 4 (Rain's Hand)", GameHour, Day, "Ok", "Settings"
elseif (Month == 4)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 5 (Second Seed)", GameHour, Day, "Ok", "Settings"
elseif (Month == 5)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 6 (Mid Year)", GameHour, Day, "Ok", "Settings"
elseif (Month == 6)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 7 (Sun's Height)", GameHour, Day, "Ok", "Settings"
elseif (Month == 7)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 8 (Last Seed)", GameHour, Day, "Ok", "Settings"
elseif (Month ==
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 9 (Hearthfire)", GameHour, Day, "Ok", "Settings"
elseif (Month == 9)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 10 (Frostfall)", GameHour, Day, "Ok", "Settings"
elseif (Month == 10)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 11 (Sun's Dusk)", GameHour, Day, "Ok", "Settings"
elseif (Month == 11)
MessageBox, "Dwemer Clock shows %.0fam on day %.0f of month 12 (Evening Star)", GameHour, Day, "Ok", "Settings"
endif
else
set TempHour to ( ( GameHour ) - 12 )
If (Month == 0)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 1 (Morning Star)", TempHour, Day, "Ok", "Settings"
elseif (Month == 1)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 2 (Sun's Dawn)", TempHour, Day, "Ok", "Settings"
elseif (Month == 2)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 3 (First Seed)", TempHour, Day, "Ok", "Settings"
elseif (Month == 3)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 4 (Rain's Hand)", TempHour, Day, "Ok", "Settings"
elseif (Month == 4)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 5 (Second Seed)", TempHour, Day, "Ok", "Settings"
elseif (Month == 5)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 6 (Mid Year)", TempHour, Day, "Ok", "Settings"
elseif (Month == 6)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 7 (Sun's Height)", TempHour, Day, "Ok", "Settings"
elseif (Month == 7)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 8 (Last Seed)", TempHour, Day, "Ok", "Settings"
elseif (Month ==
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 9 (Hearthfire)", TempHour, Day, "Ok", "Settings"
elseif (Month == 9)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 10 (Frostfall)", TempHour, Day, "Ok", "Settings"
elseif (Month == 10)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 11 (Sun's Dusk)", TempHour, Day, "Ok", "Settings"
elseif (Month == 11)
MessageBox, "Dwemer Clock shows %.0fpm on day %.0f of month 12 (Evening Star)", TempHour, Day, "Ok", "Settings"
endif
endif
Set OnPCEquip to 0
set state to 1
endif
if ( state == 1 )
set button to getbuttonpressed
if ( button == 0 )
set state to 6
elseif ( button == 1 )
if ( ScriptRunning "_global_DwemerClock" == 1 )
set settings to 1
else
set settings to 0
endif
set state to 2
endif
endif
if ( state == 2 )
if ( Clock_showday == 0 )
if ( Clock_showhour == 0 )
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Show time every hour", "Show Moons phases", "Auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Show time every hour", "Don't show Moons phases", "Auto unequip", "Ok"
endif
else
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Show time every hour", "Show Moons phases", "Don't auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Show time every hour", "Don't show Moons phases", "Don't auto unequip", "Ok"
endif
endif
else
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Don't show time every hour", "Show Moons phases", "Auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Don't show time every hour", "Don't show Moons phases", "Auto unequip", "Ok"
endif
else
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Don't show time every hour", "Show Moons phases", "Don't auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Show time every day", "Don't show time every hour", "Don't show Moons phases", "Don't auto unequip", "Ok"
endif
endif
endif
else
if ( Clock_showhour == 0 )
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Show time every hour", "Show Moons phases", "Auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Show time every hour", "Don't show Moons phases", "Auto unequip", "Ok"
endif
else
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Show time every hour", "Show Moons phases", "Don't auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Show time every hour", "Don't show Moons phases", "Don't auto unequip", "Ok"
endif
endif
else
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Don't show time every hour", "Show Moons phases", "Auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Don't show time every hour", "Don't show Moons phases", "Auto unequip", "Ok"
endif
else
if ( Clock_showmoon == 0 )
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Don't show time every hour", "Show Moons phases", "Don't auto unequip", "Ok"
else
messagebox, "Set Dwemer Clock device settings", "Don't show time every day", "Don't show time every hour", "Don't show Moons phases", "Don't auto unequip", "Ok"
endif
endif
endif
endif
set state to 3
endif
if ( state == 3 )
set button to getbuttonpressed
if ( button == 4 )
set state to 5
elseif ( button == 0 )
if ( Clock_showday == 0 )
set Clock_showday to 1
else
set Clock_showday to 0
endif
set state to 4
elseif ( button == 1 )
if ( Clock_showhour == 0 )
set Clock_showhour to 1
else
set Clock_showhour to 0
endif
set state to 4
elseif ( button == 2 )
if ( Clock_showmoon == 0 )
set Clock_showmoon to 1
else
set Clock_showmoon to 0
endif
set state to 4
elseif ( button == 3 )
if ( Clock_unequip == 0 )
set Clock_unequip to 1
else
set Clock_unequip to 0
endif
set state to 4
endif
endif
if ( state == 4 )
if ( Clock_showday == 0 )
if ( Clock_showhour == 0 )
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display OFF - Moon phases display OFF - Auto-unequip OFF"
set settings to 0
else
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display OFF - Moon phases display ON - Auto-unequip OFF"
set settings to 1
endif
else
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display OFF - Moon phases display OFF - Auto-unequip ON"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display OFF - Moon phases display ON - Auto-unequip ON"
set settings to 1
endif
endif
else
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display ON - Dayly display OFF - Moon phases display OFF - Auto-unequip OFF"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display ON - Dayly display OFF - Moon phases display ON - Auto-unequip OFF"
set settings to 1
endif
else
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display ON - Dayly display OFF - Moon phases display OFF - Auto-unequip ON"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display ON - Dayly display OFF - Moon phases display ON - Auto-unequip ON"
set settings to 1
endif
endif
endif
else
if ( Clock_showhour == 0 )
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display ON - Moon phases display OFF - Auto-unequip OFF"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display ON - Moon phases display ON - Auto-unequip OFF"
set settings to 1
endif
else
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display ON - Moon phases display OFF - Auto-unequip ON"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display OFF - Dayly display ON - Moon phases display ON - Auto-unequip ON"
set settings to 1
endif
endif
else
if ( Clock_unequip == 0 )
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display ON - Dayly display ON - Moon phases display OFF - Auto-unequip OFF"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display ON - Dayly display ON - Moon phases display ON - Auto-unequip OFF"
set settings to 1
endif
else
if ( Clock_showmoon == 0 )
messagebox "Dwemer Clock device : Hourly display ON - Dayly display ON - Moon phases display OFF - Auto-unequip ON"
set settings to 1
else
messagebox "Dwemer Clock device : Hourly display ON - Dayly display ON - Moon phases display ON - Auto-unequip ON"
set settings to 1
endif
endif
endif
endif
set state to 2
endif
if ( State == 5 )
if ( settings > 0 )
if ( ScriptRunning "_global_DwemerClock" == 0 )
startscript "_global_DwemerClock"
endif
else
if ( ScriptRunning "_global_DwemerClock" == 1 )
stopscript "_global_DwemerClock"
endif
endif
set State to 6
endif
if ( State == 6 )
set Clock_ready to 1
set state to 0
endif
end DwemerClock
----------------------------------------------------
so .. das is ein script von 3 ...
.. im nächsten post *g*
__________________ Selbst verfasste Texte ( für die philosophen unter euch lol ) :
"Unser Leben"
akemV2 ( nein, du musst die abkürzung nicht verstehen lol )
|