Day & Night | PineScript

02/18/2015 00:20 *Kaito#1
Code:
open [main]
    var InterruptBlock      1
        InterruptArg        2.
    interruptclear all.
    interruptset admin "" 1 "".
	scriptfile "Adl_Town".
	
    infinite
    open
        waitinterrupt InterruptBlock "InterruptArg".
        call InterruptBlock "Default".
    close
close

open [onTurnLightsOffImmediately]
    maplight 55 55 55.
 interruptset Sec "turnLightsOffImmediately" 1 1 "onTurnLightsOffImmediately".
close

open [VerticalOff]
    maplight 255 255 255.
    pause MilliSec 500.
    maplight 215 215 215.
    pause MilliSec 500.
    maplight 175 175 175.
    pause MilliSec 500.
    maplight 135 135 135.
    pause MilliSec 500.
    maplight 95 95 95.
    pause MilliSec 500.
    maplight 55 55 55.
	chatwin "AdlSpeGuiltian" "onLightsOff".
	interruptset Sec "turnLightsOffImmediately" 1 1 "onTurnLightsOffImmediately".
	interruptset admin "" 1 "".
close

open [VerticalOn]
    interrupterase "turnLightsOffImmediately".
	chatwin "AdlSpeGuiltian" "onLightsOn".
    maplight 55 55 55.
    pause MilliSec 500.
    maplight 95 95 95.
    pause MilliSec 500.
    maplight 135 135 135.
    pause MilliSec 500.
    maplight 175 175 175.
    pause MilliSec 500.
    maplight 215 215 215.
    pause MilliSec 500.
    maplight 255 255 255.
	interruptset admin "" 1 "".
close
Hier das Day and Night PineScript. Wie man es addet wisst ihr ja wenn nicht fragen :D

Viel Spaß damit.

Die zeit und das abdunkel aufhellen könnt ihr euch ändern wie ihr wollt einfach copy and paste :)
02/18/2015 00:34 Djordyy#2
Day and Night... Nice, :P
That would be really cool for this game.
02/18/2015 10:01 Fersion#3
Danke ersmal für den release aber ich hab mal ne Frage ist es mögliche mehrere scripts auf einer Map zu haben ? z.b. BuffNPC und Day/Night ?
02/18/2015 10:41 *Kaito#4
Jo ist easy aber hab heut wenig Zeit erst ab Abend
02/18/2015 10:44 Sour!#5
Quote:
Originally Posted by Fersion View Post
Danke ersmal für den release aber ich hab mal ne Frage ist es mögliche mehrere scripts auf einer Map zu haben ? z.b. BuffNPC und Day/Night ?
Einfach auf einen Script packen ^^
02/18/2015 11:13 Fersion#6
Quote:
Originally Posted by Sour! View Post
Einfach auf einen Script packen ^^
Hab von den scripts absolut keine ahnung kann man also sozusagen 2 Stück unternander legen also das eine nehmen und unters andere copy&paste ?
02/18/2015 12:03 xKeRnx#7
Kannst nicht das komplette Script einfach einfügen musst einzelne Funktionen kopieren und in das andere Script einfügen und wenn erwünscht am Anfang aufrufen
02/18/2015 12:06 *Kaito#8
-----
02/18/2015 15:56 Cℓoud#9
Irgendwie läuft das Script bei mir nicht .. Zonen stürzen nicht ab, aber das Script wird ingame auch nicht gestartet.
02/18/2015 15:58 xPolly#10
Quote:
Originally Posted by Cℓoud View Post
Irgendwie läuft das Script bei mir nicht .. Zonen stürzen nicht ab, aber das Script wird ingame auch nicht gestartet.

Bei mir wird das auch nicht in Game angezeigt.
02/18/2015 16:39 *Kaito#11
Ich lad gegen 19 Uhr ein neues Hoch
02/23/2015 18:16 xPolly#12
Quote:
Originally Posted by *Kaito View Post
Ich lad gegen 19 Uhr ein neues Hoch
Vergessen? :D
02/23/2015 19:12 [GM]Merkurius#13
er hat ja nich gesagt wann um 19:00 Uhr :D schlaue lösung :D
02/23/2015 20:30 xPolly#14
Quote:
Originally Posted by [GM]Merkurius View Post
er hat ja nich gesagt wann um 19:00 Uhr :D schlaue lösung :D
Okay, da hast du recht. :D