2025-11-04 16:53:51 +01:00

120 lines
2.3 KiB
JSON

{
"$schema": "../aces.schema.json",
"custom": {
"conditions": [
{
"id": "on-skeleton-loaded",
"scriptName": "OnSkeletonLoaded",
"isTrigger": true
},
{
"id": "on-animation-event",
"scriptName": "OnAnimationEvent",
"isTrigger": true,
"params": [
{
"id": "event",
"type": "string",
"initial-value": "complete"
},
{
"id": "track",
"type": "number",
"initial-value": 0
},
{
"id": "animation",
"type": "string"
}
]
},
{
"id": "is-flipped-x",
"scriptName": "IsFlippedX",
"isTrigger": false
}
],
"actions": [
{
"id": "set-skin",
"scriptName": "SetSkin",
"highlight": false,
"params": [
{
"id": "skin-name",
"type": "string"
}
]
},
{
"id": "flip-x",
"scriptName": "FlipX",
"highlight": false,
"params": [
{
"id": "is-flipped-x",
"type": "boolean"
}
]
},
{
"id": "set-animation",
"scriptName": "SetAnimation",
"highlight": true,
"params": [
{
"id": "track",
"type": "number"
},
{
"id": "animation",
"type": "string"
},
{
"id": "loop",
"type": "boolean"
}
]
},
{
"id": "add-animation",
"scriptName": "AddAnimation",
"highlight": true,
"params": [
{
"id": "track",
"type": "number"
},
{
"id": "animation",
"type": "string"
},
{
"id": "loop",
"type": "boolean"
},
{
"id": "delay",
"type": "number"
}
]
}
],
"expressions": [
{
"id": "double",
"expressionName": "Double",
"highlight": true,
"returnType": "number",
"params": [
{
"id": "number",
"type": "number"
}
]
}
]
}
}