BIS fnc playVideo: Difference between revisions

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


[[Category:ArmA 2: Functions|PLAYVIDEO}}]]
[[Category:ArmA 2: Functions|PLAYVIDEO}}]]
[[Category:Function Group: GUI|playVideo]]

Revision as of 09:43, 27 October 2011

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