LegacyControl

Report any Hollywood bugs here
Post Reply
g0blin
Posts: 77
Joined: Tue Oct 04, 2011 9:06 am

LegacyControl

Post by g0blin »

Good evening to everyone,

I don't know if this is actually a bug, but I can't make LegacyControl() instruction work.
I am using H8.0 and, as stated in the manual, it is possible to force the system to play more than one music at a time.
Since the tracks I plan to use for my upcoming game are rather long, I would prefer to always pre-cache them using OpenMusic() instead of using LoadSample(). I so tried to force the system to this behavior setting the parameter SingleMusic to False according to the syntax reported in the manual "LegacyControl(feature$, enable)", but:

LegacyControl(Singlemusic,False)
returns
Unknown tag ""!

while

LegacyControl(Singlemusic="False")
returns
Not enough arguments!

I searched the forum for answers, but no entries look in place for said argument.
Suggestions, anyone?

Kind regards
g0blin
Tipsi
Posts: 21
Joined: Sun Feb 14, 2010 6:06 pm
Location: Switzerland

Re: LegacyControl

Post by Tipsi »

Hi g0blin

And if you write the command like this:

LegacyControl("Singlemusic",False)

Griessli
Tipsi
g0blin
Posts: 77
Joined: Tue Oct 04, 2011 9:06 am

Re: LegacyControl

Post by g0blin »

If I do like you say it works like a charm. That proves that I'm a bonehead....

I should actually know that it's better not to code when wife and kids are home: too much clutter...
Sorry for bothering you, guys. My bad!

Thank you for the quick reply.
g0blin
Post Reply