mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
[Spine] Fix "Animation finished" condition (#7464)
This commit is contained in:
@@ -5767,7 +5767,7 @@
|
||||
"parameters": [
|
||||
"PausedLabel",
|
||||
"=",
|
||||
"\"Paused: \" + RedHero.AnimationTest::AnimationPaused() + \", \" + FemalWitch.AnimationTest::AnimationPaused() + \", \" + Spine.AnimationTest::AnimationPaused()"
|
||||
"\"Paused: \" + RedHero.AnimationTest::AnimationPaused() + \", \" + Spine.AnimationTest::AnimationPaused() + \", \" + FemalWitch.AnimationTest::AnimationPaused()"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -5777,7 +5777,7 @@
|
||||
"parameters": [
|
||||
"EndedLabel",
|
||||
"=",
|
||||
"\"Ended: \" + RedHero.AnimationTest::AnimationFinished() + \", \" + FemalWitch.AnimationTest::AnimationFinished() + \", \" + Spine.AnimationTest::AnimationFinished()"
|
||||
"\"Ended: \" + RedHero.AnimationTest::AnimationFinished() + \", \" + Spine.AnimationTest::AnimationFinished() + \", \" + FemalWitch.AnimationTest::AnimationFinished()"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -18768,6 +18768,20 @@
|
||||
"name": "AnimationFinished",
|
||||
"sentence": "",
|
||||
"events": [
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [],
|
||||
"actions": [
|
||||
{
|
||||
"type": {
|
||||
"value": "SetReturnString"
|
||||
},
|
||||
"parameters": [
|
||||
"\"false\""
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [
|
||||
@@ -18791,31 +18805,6 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [
|
||||
{
|
||||
"type": {
|
||||
"inverted": true,
|
||||
"value": "AnimatableCapability::AnimatableBehavior::HasAnimationEnded"
|
||||
},
|
||||
"parameters": [
|
||||
"Object",
|
||||
"Animatable"
|
||||
]
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": {
|
||||
"value": "SetReturnString"
|
||||
},
|
||||
"parameters": [
|
||||
"\"false\""
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expressionType": {
|
||||
@@ -18842,6 +18831,20 @@
|
||||
"name": "AnimationPaused",
|
||||
"sentence": "",
|
||||
"events": [
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [],
|
||||
"actions": [
|
||||
{
|
||||
"type": {
|
||||
"value": "SetReturnString"
|
||||
},
|
||||
"parameters": [
|
||||
"\"false\""
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [
|
||||
@@ -18865,31 +18868,6 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "BuiltinCommonInstructions::Standard",
|
||||
"conditions": [
|
||||
{
|
||||
"type": {
|
||||
"inverted": true,
|
||||
"value": "AnimatableCapability::AnimatableBehavior::IsAnimationPaused"
|
||||
},
|
||||
"parameters": [
|
||||
"Object",
|
||||
"Animatable"
|
||||
]
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": {
|
||||
"value": "SetReturnString"
|
||||
},
|
||||
"parameters": [
|
||||
"\"false\""
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expressionType": {
|
||||
|
Reference in New Issue
Block a user