Code: Select all
"animation":[
{
"id":"$animationblinkingredlight3x3","x":15,"y":-1,
"date":{
"start day":2,
"start month":12,
"days":3
}
}
],
Moderator: Plugin Moderators
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, 14:01No, 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, 21:11With 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.