BIS fnc playVideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [path,''size'',''color''] call '''BIS_fnc_playVideo'''  |=
| [path,''size'',''color''] spawn '''BIS_fnc_playVideo'''  |=


|p1= path: [[String]] - full path to OGV file |= PARAMETER1  
|p1= path: [[String]] - full path to OGV file |= PARAMETER1  

Revision as of 20:02, 30 November 2010

Hover & click on the images for description

Description

Description:
Plays in-game video.

GUI layer for video is 25.

Script terminates itself when video stops.
Groups:
Uncategorised

Syntax

Syntax:
[path,size,color] spawn BIS_fnc_playVideo
Parameters:
path: String - full path to OGV file
size (Optional): Array in format [x, y, w, h]
color (Optional): Array in format Color
Return Value:
Nothing

Examples

Example 1:
_video = ["\ca\video_pmc\CP00_intro.ogv"] spawn bis_fnc_playVideo;
waitUntil {scriptDone _video};

Additional Information

See also:
Functions Library

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section