BIS fnc playVideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 47: Line 47:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
 
[[Category:Function Group: GUI|{{uc:playVideo}}]]
[[Category:ArmA 2: Functions|PLAYVIDEO}}]]
[[Category:Functions|{{uc:playVideo}}]]
[[Category:Function Group: GUI|playVideo]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:playVideo}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:playVideo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playVideo}}]]

Revision as of 17:05, 25 July 2014

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.
Execution:
call
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