Product Chat / Error

Author
Message
Farcry
8
Years of Service
User Offline
Joined: 11th May 2015
Location:
Posted: 2nd Jul 2015 21:12
I was just wondering if anyone could help me with this error I encountered. The glitch is, when I load the editor or standalone.exe before the game starts it says lua error no function called music_main.
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 2nd Jul 2015 21:39
Quote: " lua error no function called music_main"

This usually has to do with the script.
If you've an script named say, "music.lua", so the "init" and "main" block has look like:

Function music_init(e)
end

Function music_main(e)
end

The error often comes when you change the name to some script , and does not change the above statments too.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-05-03 13:16:10
Your offset time is: 2024-05-03 13:16:10