Wah, i can't find the code for play sound.
Some one give me the code please for play sound after 1 min is passed...
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Mystery wrote:Aiden, look at this thread about how to play video and sound with VBScript:
http://www.adventuremaker.com/phpBB2/vi ... php?t=1405
And for timed events here (scroll down to CreateTimedEvent):
http://www.adventuremaker.com/help/vbsc ... erence.htm
Good luck
If Lock1+Lock2+Lock3+Lock4 = 4 Then
PlaySound GetPath(2) + "sound.mp3", False
Action.GoToFrame "lock_near01", 1, 1
End If
Action.CreateTimedEvent 4 , "PlaySound GetPath(2) + "sound.mp3", False
Sub MySound
PlaySound GetPath(2) + "Filename.mp3", False
End Sub
Action.CreateTimedEvent 4.5 , "MySound", False
Return to Adventure Maker General Discussion
Users browsing this forum: No registered users and 0 guests