BIS fnc playVideo: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= | |||
{{ | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2oa |= | | arma2oa |= | ||
|1. | |1.56|= | ||
| | |arg= |= MPARGUMENTS | ||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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= path: [[String]] - full path to OGV file |= PARAMETER1 | |||
|p2= size ''(Optional)'': [[Array]] in format [x, y, w, h] |= PARAMETER2 | |||
| | |p3= color ''(Optional)'': [[Array]] in format [[Color]] |= PARAMETER3 | ||
| | | [[Nothing]] |= RETURNVALUE | ||
| |= | |x1= <code>_video <nowiki>=</nowiki> ["\ca\video_pmc\CP00_intro.ogv"] [[spawn]] bis_fnc_playVideo;<br />[[waitUntil]] {[[scriptDone]] _video};</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Functions Library]] |= SEEALSO | ||
| |= MPBEHAVIOUR | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
<h3 style= | <h3 style='display:none'>Notes</h3> | ||
<dl class= | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
Line 51: | Line 41: | ||
</dl> | </dl> | ||
<h3 style= | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category: | [[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