Robert The Rebuilder wrote:I'd like to have the callback of an avatar animation trigger the change in an SDL variable. However, there are no command messages that do this directly. Is there some indirect way to do this, e.g. via notifymsg?
Robert The Rebuilder wrote:Note: I don't want the avatar animation to trigger in response to the SDL variable change, as it is in the Saving Object Animations' States example - because I don't want other players in the age to suddenly find themselves pulling the same lever as me.
D'Lanor wrote:Trust me, they won't. Just use Cyan's global Python files and you will be ok. For example xAgeSDLBoolRespond.py. Take a look at its code and you'll see that it does retrieve the avatar who pulls the lever and runs the responder on it correctly.
Users browsing this forum: No registered users and 3 guests