License from €75
DE EN FR ES IT CZ

Issue with script in animations

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

  1. · 5 years ago
    Hi!

    When I run the game from the editor, everything ist okay, but when I export it to a Windows Build, LUA-Scripts which have been placed in the animations of a character don't seem to load.
    Have I forgotten something or is it a bug?

    Thanks in advance!
  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. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 5 years ago
    What sort of scripts are you writing inside of your character animations? Can you provide an example of one? & are none of them being executed?
  4. · 5 years ago
    Hi afrlme!

    I tried with a simple script: works fine in the editor, but the sound won't get played when I'm exporting the game to a windows .exe file.

    Thanks for the help!

    • Image in post
    • Image in post
    • Image in post
  5. · 5 years ago
    Ah ok, I see the issue. You need to include vispath in the link to the sound file to tell the engine to include it when you export the game.

    example: "vispath:path to sound folder/example.ogg"
  6. · 5 years ago
    Thanks a lot! It works and you're awesome!
  7. · 5 years ago
    No problem. At least now you know what you need to do to include sound files. wink

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?