hello, how to click a button/UIButton or trigger the trigger in a script, so that some animations can be added to a sequence? here is what they are like in the scene file:
{
"id" : "Button",
"on" : "true",
"type" : "Button",
"storables" : [
{
"id" : "Trigger",
"trigger" : {
"displayName" : "77",
"startActions" : [
{
"name" : "77",
"receiverAtom" : "Person",
"receiver" : "AnimationControl",
"receiverTargetName" : "AddAnimationToSequence",
"stringChooserActionChoice" : "Catwalk Heels - Twist R to Twist L"
}
],
"transitionActions" : [
],
"endActions" : [
]
}
}
]
},
{
"id" : "UIButton",
"on" : "true",
"type" : "UIButton",
"storables" : [
{
"id" : "Trigger",
"trigger" : {
"displayName" : "A_AddAnimationToSequence",
"startActions" : [
{
"name" : "A_AddAnimationToSequence",
"receiverAtom" : "Person",
"receiver" : "AnimationControl",
"receiverTargetName" : "AddAnimationToSequence",
"stringChooserActionChoice" : "Catwalk Heels - Twist L To Idle"
}
],
"transitionActions" : [
],
"endActions" : [
]
}
}
]
}
{
"id" : "Button",
"on" : "true",
"type" : "Button",
"storables" : [
{
"id" : "Trigger",
"trigger" : {
"displayName" : "77",
"startActions" : [
{
"name" : "77",
"receiverAtom" : "Person",
"receiver" : "AnimationControl",
"receiverTargetName" : "AddAnimationToSequence",
"stringChooserActionChoice" : "Catwalk Heels - Twist R to Twist L"
}
],
"transitionActions" : [
],
"endActions" : [
]
}
}
]
},
{
"id" : "UIButton",
"on" : "true",
"type" : "UIButton",
"storables" : [
{
"id" : "Trigger",
"trigger" : {
"displayName" : "A_AddAnimationToSequence",
"startActions" : [
{
"name" : "A_AddAnimationToSequence",
"receiverAtom" : "Person",
"receiver" : "AnimationControl",
"receiverTargetName" : "AddAnimationToSequence",
"stringChooserActionChoice" : "Catwalk Heels - Twist L To Idle"
}
],
"transitionActions" : [
],
"endActions" : [
]
}
}
]
}