• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Imported music creates error

Status
Not open for further replies.
Level 16
Joined
Mar 26, 2004
Messages
569
I imported a .mp3 that' 3.04mb of size. Just after i Import it and save it, i get numerous of errors.

"105 compile errors" and they're all "Invalid number of arguments."

Then when i remove the mp3 file and try and save again, it works fine. :s

HELP!
 
Level 11
Joined
Dec 31, 2007
Messages
780
yeah... it hapened to me once.... it has something to do with the variable name you asing to it... but i dont remember where my error was...

the compile error is just the name of the sound but it shurely refers to a trigger that you are using with a sound name you deleted...

check this (it was my post when i had that problem) http://www.hiveworkshop.com/forums/showthread.php?t=52512


try to locate all the triggers where you used your music (if you deleted one) and fix that...
 
Level 11
Joined
Dec 31, 2007
Messages
780
tell me if im wrong... you imported a music ... you had a problem... and you deleted it... (you tried to use it in a trigger) after that... you made the music file again with a new name and reimported it... after this you started having problems and posted about it... is this correct?

well... delete the trigger you Assigned to the first music file you imported... that is what causes the compilation problems... search in triggers and in sound variables some variable created with the name of file that you deleted and delete it...


PS: for the next one use search.... and try this "Sound Compilation Problems?" without the quotes
 
Level 16
Joined
Mar 26, 2004
Messages
569
tell me if im wrong... you imported a music ... you had a problem... and you deleted it... (you tried to use it in a trigger) after that... you made the music file again with a new name and reimported it... after this you started having problems and posted about it... is this correct?
It is incorrect.
I only imported and tried to save the map, which was when the errors occured.
 
Level 11
Joined
Dec 31, 2007
Messages
780
ok... do this just to be sure... delete the imported file... search for all variables (inside sound manager) that are related to the music ... now go to your triggers and search in all of them some variable you may used with the sound and delete that trigger... once you`ve deleted every variable that may be related to the sound (or a previous one that you have deleted) import the sound to your map... assign a variable to it and then make a trigger... see if this works... but you gotta be sure that you have deleted every single variable related to the sound or sounds you have deleted


hope this helps ^^
 
Status
Not open for further replies.
Top