Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login
EN ▾
Deutsch
English
Français
Español
Italiano
Čeština
×
Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login / Registrieren
DE
EN
FR
ES
IT
CZ
Issue with script in animations
1
#1, by
shin-megami
Sunday, 31. October 2021, 22:11
4 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, by
afrlme
Monday, 01. November 2021, 12:25
4 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?
#3, by
shin-megami
Monday, 01. November 2021, 15:19
4 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!
#4, by
afrlme
Monday, 01. November 2021, 15:56
4 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"
#5, by
shin-megami
Monday, 01. November 2021, 17:14
4 years ago
Thanks a lot! It works and you're awesome!
#6, by
afrlme
Monday, 01. November 2021, 17:26
4 years ago
No problem. At least now you know what you need to do to include sound files.
1