Frame and Animation

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
demonhunter
Settler
Posts: 2
Joined: 18 Jan 2025, 13:58

Frame and Animation

#1

Post by demonhunter »

*animation.json*


[
{
"id":"cyanled_alwayson",
"type":"animation",
"light":true,
"frames":[
{
"bmp":"LED-VENEDCASTLE77.BASE.png",
"x":0, "y":0,
"w":166, "h":138, "count":1
}
]

},
{
"id":"movecyan",
// "light":true,
// "light switching":true,
"type":"animation",
"animation":[
{
"id":"cyanled_alwayson",
"x":29, "y":-321
}
]
}
]



*building.json*

"id":"xxxx",
"type":"building",
"animation":[
{ "id":"movecyan" }
]
........




I used "animation" two step go to "cyanled_alwayson"

Why must have to activate the light and lightswitch on "movecyan" huh?

When it's false value at light and light_s, it can enter but when it's about to be built, there's an error

Return to “Plug-In Discussion”