Also im Prinzip habe ich nur 2 Trigger die die Geschwindigkeit etwas verlangsamen koennten. Der eine laeuft alle 5 Sekunden, der andere alle 7. Folgendes steht im 5er:
on:trigger {
if (count ("object",8)>=6){
msg "You didn't obey the commandments!!!",3,8000;
msg "Now you have to die!! Wooohaa!!!",3,8000;
addstate "unit",1,8;
stoptrigger "self";
}
if (count ("object",9)>=7){
msg "You didn't obey the commandments!!!",3,8000;
msg "Now you have to die!! Wooohaa!!!",3,8000;
addstate "unit",1,8;
stoptrigger "self";
}
if (count ("object",18)>=4){
msg "You didn't obey the commandments!!!",3,8000;
msg "Now you have to die!! Wooohaa!!!",3,8000;
addstate "unit",1,8;
stoptrigger "self";
}
if (count ("object",19)>=6){
msg "You didn't obey the commandments!!!",3,8000;
msg "Now you have to die!! Wooohaa!!!",3,8000;
addstate "unit",1,8;
stoptrigger "self";
}
Das geht dann fuer insgesamt 15 Objekte so. Ich weiss dass es bestimmt eine elegantere Variante gibt, allerdings sind meine Skriptkenntnisse immer noch ziemlich basic.