Let me try to explain what I was doing.
I have "trophy" scene where are some dolls that rotate through 24 frames.
So I created MANUAL rotation possible and here how I did it (note I have very low knowledge in lua but this works):
I created "Called by other action" with:
if value = 1
And after that for each frame same (if value 2 first/last frame, 2 etc.
Added mouse scroll up and down to change value +/-1 and then jump to "Called by other action"
So, now this works. But i have many trophy's on this scene and I want to make it as simple as it can get.
My question is: can we somehow via Lua set this to be "Global" script for this scene meaning, can I make "animation_name" be global in this execute script and somehow call for specific name of each trophy. (as I said I am very basic with lua)
Here what I meant something like:
change "animation_name" to "x"
so this way there would be only 1 Called by other action" command but would change animation name for current trophy allowing us to control current animation/trophy.
I apologize if it is a bit awkward explanation, I hope tho someone will understand what I wanted to ask.
Thank you in advance.