Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: AmazingTash on Sun 09/04/2017 20:40:43

Title: [SOLVED] PlayVideo Error | "Gui set as text window" ?
Post by: AmazingTash on Sun 09/04/2017 20:40:43
Dear swarm intelligence,

i got a Problem with playing my ogv Video. I searched my ass off for a solution.
The Video was in the Compiled folder.

screenshot: https://www.dropbox.com/s/4hqln9q8308s8ti/ags-error.jpg?dl=0
(https://www.dropbox.com/s/4hqln9q8308s8ti/ags-error.jpg?dl=0)

Code (ags) Select
function room_AfterFadeIn()
{
PlayVideo ("intro.ogv",eVideoSkipAnyKeyOrMouse, 10);
}


i get this error
Quote
An error has occurred.
Gui set as text window, but is not actually a test window Gui

what am I doing wrong?

Title: Re: PlayVideo Error | "Gui set as text window" ?
Post by: Crimson Wizard on Sun 09/04/2017 21:00:16
Does not look like it has anything to do with video.

This error means that you have a normal GUI number set in some of the speech-related settings, which requires TextWindow Gui.

Check following properties:
"Custom text-window GUI"
"Custom thought bubble GUI"
Title: Re: PlayVideo Error | "Gui set as text window" ?
Post by: AmazingTash on Mon 10/04/2017 15:45:33
:confused:
Change this settings had solved it. I am confused, but lucky. Thank you.
Now i got "unable to load theora video"... Examplevideo.ogv doesn't work too.

edit:
my fault. i dropped the videos into the Compiled folder, cause i read this in the forum.
Now, in root, it works.
Title: Re: [SOLVED] PlayVideo Error | "Gui set as text window" ?
Post by: Khris on Mon 10/04/2017 20:13:24
Not sure why you're confused, the error you got was caused by the bad setting and had nothing to do with the video.
When you changed the setting, the error disappeared, as expected. Luck has nothing to do with it, either.