This question has already been asked, but not really answered: How to activate ANOTHER object's actuator (Python)?
So regardless if I'm supposed to:
I've got following objects parented (simplified):
Cube "Hero" (invisible,actor) [always:player.py]
> Armature "Skel" [Walk.action, Jump.action, ...]
> Mesh "Skin"
"Hero" is my player object. Here I have my Always > player.py script.
Depending on stuff I want my script to activate animations on "Skel".
Currently I'm doing this using playAction
while using the settings taken from the Action from Skel
.
Now I'd like to use the Action Actuator directly via cont.activate(Walk.action)
.
The problem is I don't have a controller to activate it with.
How can I do this nevertheless? (And yes, I'm interested in alternatives, too, but I really really would like to have an direct approach first.)
Thanks in advance