License from €75 Log in
DE EN FR ES IT CZ

Changing Default Animation with Lua

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 7 years ago
    Is it possible to write a script at the beginnig of a scene to change the Default Animation of different objects?
    Thanks
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 7 years ago
    Hmm. both luadocs page & the wiki data structure page say it isn't scriptable. You could just leave the default animation empty & instead create a called by other action block that you  can call in the at begin of scene action block. You just need to add some if condition/value type queries into the called by other action block to determine which animation to play with the play animation action part.
  4. · 7 years ago
    Thank you for another wise advise.
    Looking at lua documentation I was afraid of that, but you know so many tricks...
  5. · 7 years ago
    Just because something says it isn't scriptable, doesn't mean that it isn't. It usually just means that the change won't be saved in the save game data or might require a scene/animation restart, etc.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?