Code: Select all
"animation":[
{
"id":"$animationblinkingredlight3x3","x":15,"y":-1,
"date":{
"start day":2,
"start month":12,
"days":3
}
}
],Code: Select all
"animation":[
{
"id":"$animationblinkingredlight3x3","x":15,"y":-1,
"date":{
"start day":2,
"start month":12,
"days":3
}
}
],Code: Select all
"animation":[
{
"id":"$animationblinkingredlight3x3","x":15,"y":-1,
"date":{
"start day":2,
"days":3,
"repeat":"weekly"
}
}
],Code: Select all
"animation":[
{
"id":"$animationblinkingredlight3x3","x":15,"y":-1,
"date":{
"start day":1,
"days":1,
"days total":2
}
}
],Could I use the same code for notifications?Lobby wrote: 15 Aug 2017, 12:01 No, you cannot lock the animation, but you might do something similar by having to animations, a static and a non-static one. By switching between these two dependent on date you might create a similar effect.
You can also do it weekly or monthly by using repeat:Valid arguments for repeat are yearly, monthly and weekly.Code: Select all
"animation":[ { "id":"$animationblinkingredlight3x3","x":15,"y":-1, "date":{ "start day":2, "days":3, "repeat":"weekly" } } ],

But by doing this, will the plugin be animated on December 2, 3 and 4 in real life or on theotown?Lobby wrote: 14 Aug 2017, 19:11 With version 332 you will be able to show an animation only on a specific date (range). For example, if we want to show an animation with id $animationblinkingredlight3x3 (this one is built-in into the game) only on 2nd, 3rd and 4th december. Then we might add this code to our building/road plugin:Code: Select all
"animation":[ { "id":"$animationblinkingredlight3x3","x":15,"y":-1, "date":{ "start day":2, "start month":12, "days":3 } } ],
If you want the animation on multiple date ranges with gaps in between you may provide multiple animation spots, each for a single date range.
请使用英文发言。这太好了 wrote: 22 Jul 2023, 05:57 正当你们讨论的热火朝天的时候,我在旁边懵逼了,我不知道怎么确定点在画中的位置,谁能教教我?谢谢
Tr. While you are discussing this heatedly, I am confused. I don't know how to determine the position of the point in the painting. Can anyone teach me? Thank you