Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Issue with script in animations

  • #1, by shin-megami 4 years ago Zitieren
    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, by afrlme 4 years ago Zitieren
    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?
  • #3, by shin-megami 4 years ago Zitieren
    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!

  • #4, by afrlme 4 years ago Zitieren
    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"
  • #5, by shin-megami 4 years ago Zitieren
    Thanks a lot! It works and you're awesome!
  • #6, by afrlme 4 years ago Zitieren
    No problem. At least now you know what you need to do to include sound files. wink