BIS fnc crows: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Plays in-game video.<br /><br />GUI layer for video is 25.<br /><br />Script terminates itself when video stops. | ||
|= | |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [ | | [path,''size'',''color''] call '''BIS_fnc_playVideo''' |= | ||
|p1= | |p1= path: [[String]] - full path to OGV file |= PARAMETER1 | ||
|p2= | |p2= size ''(Optional)'': [[Array]] in format [x, y, w, h] |= PARAMETER2 | ||
|p3= | |p3= color ''(Optional)'': [[Array]] in format [[Color]] |= PARAMETER3 | ||
| [[ | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code> | |x1= <code>_video <nowiki>=</nowiki> ["\ca\video_pmc\CP00_intro.ogv"] [[spawn]] bis_fnc_playVideo;<br />[[waitUntil]] {[[scriptDone]] _video};</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 43: | Line 43: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:ArmA 2: Functions| | [[Category:ArmA 2: Functions|PLAYVIDEO}}]] |
Revision as of 11:09, 29 November 2010
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] call 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