[31 Jan 2010] Function PlayMusic ()

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
NubeCheCorre
Posts: 77
Joined: Mon Mar 19, 2012 1:24 am
Contact:

[31 Jan 2010] Function PlayMusic ()

Post by NubeCheCorre »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 31 Jan 2010 00:44:20 +0100

Hi :-)

i am trying to execute this simple script but for some reason i get an error when trying to compile it or display it..

here the code:

Code: Select all

@DISPLAY {Title="Prova", X=50, Y=50, Width=800, height=600}
@MUSIC 1, "mod.intro"

PlayMusic(1,{times=0})
Print("Ciao Mondo!")
WaitleftMouse()
End()
What's wrong in my code ?

Thanks Davide :-)
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[31 Jan 2010] Re: Function PlayMusic ()

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 31 Jan 2010 22:10:26 +0100
Hi :-)

i am trying to execute this simple script but for some reason i get an error when trying to compile it or display it..

here the code:

Code: Select all

@DISPLAY {Title="Prova", X=50, Y=50, Width=800, height=600}
@MUSIC 1, "mod.intro"

PlayMusic(1,{times=0})
Print("Ciao Mondo!")
WaitleftMouse()
End()
What's wrong in my code ?
The table argument is only supported in Hollywood 4.5. In older versions, you have to call

PlayMusic(1, 0)

instead.
Locked