BIS fnc playVideo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Fred Gandt (talk | contribs) (Changed layout template from Command to Function) |
||
Line 1: | Line 1: | ||
{{ | {{Function|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Plays in-game video.<br | | Plays in-game video. | ||
<br> | |||
GUI layer for video is <tt>25</tt>. | |||
<br> | |||
Script terminates itself when video stops. | |||
|= | |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 29: | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code>_video | |x1= <code>_video = ["\ca\video_pmc\CP00_intro.ogv"] [[spawn]] [[BIS_fnc_playVideo]]; | ||
[[waitUntil]] {[[scriptDone]] _video};</code>|= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 02:01, 29 May 2014
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