(solved) Playing videos in AGS

Started by gamemaster468, Sat 31/03/2012 02:35:08

Previous topic - Next topic

gamemaster468

(GASP) Two posts in one day! It's MADNESS I tell you!!!  :o XD Anyways, I have another question about playing videos in my game. For the most part, the first few scripting commands are strait forward. You type in "PlayVideo" Then the number of the video, then it asks how you want the player to skip the video. So far it looks like this. PlayVideo(1, eVideoSkipAnyKeyOrMouse, But then after that, I run into a problem. It asks for something called an "int flag". I don't understand what this means. What do I type in when it asks for an "int flag"?  :-\
-gamemaster468

TheMagician

Please look up the manual for the PlayVideo command. There it says:

FLAGS can be one of the following:

0: the video will be played at original size, with AVI audio
1: the video will be stretched to full screen, with appropriate
  black borders to maintain its aspect ratio and AVI audio.
10: original size, with game audio continuing (AVI audio muted)
11: stretched to full screen, with game audio continuing (AVI audio muted)

gamemaster468

#2
YES! It works PERFECTLLY! Thanks man. :D
-gamemaster468

SMF spam blocked by CleanTalk