Hi
I'm struggling with assigning a sound to an animation in a dialog.
I want the audio sound to work together when the animation begins.
I've tried stuff like:
Putting the sound around time of animation /
Linkaudio, Frame /
if (frame.LinkedAudio != null) frame.LinkedAudio.Play(); /
frame.LinkedAudio = asawing;
SetFrameSound
But as yet have not found the ideal solution.. No assign sound to frames in view events panel.
Can someone point out the best way..
cheers if you can help / hint
barefoot
There are two ways:
1. Open the view, select the frame, them click on Sound in the properties pane and select the sound.
2. In-game:
ViewFrame *frame = Game.GetViewFrame(VIEW, loop, frame);
frame.LinkedAudio = asawing;
I'm having a hard time deciphering your post so I can't address any specific problems.
Khris
you won't believe this... The options of assigning a sound had disappeared!
This had been my first thought.
I closed AGS down and restarted.. now it's back..
strange happenings yet again.
Will try both options.
Cheers Khris
barefoot
Do you have more than one AGS version installed? If so, is one of them an earlier version than 3.2? That sounds to me like the problem..
Hi Monkey..
Only got AGS 3.2.0
Not quite sure why some of the events panel for the views vanished and then returned.. mystery.. But all ok at the moment.
cheers
:=
barefoot