BIS fnc customGPSVideo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
||
Line 26: | Line 26: | ||
|r1= [[Script Handle|Script]] - script which terminates itself once video ends | |r1= [[Script Handle|Script]] - script which terminates itself once video ends | ||
|x1= <code>_script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] [[spawn]] [[BIS_fnc_customGPSvideo]]; | |x1= <code>[[private]] _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] [[spawn]] [[BIS_fnc_customGPSvideo]]; | ||
[[waitUntil]] {[[scriptDone]] _script};</code> | [[waitUntil]] {[[scriptDone]] _script};</code> | ||
Revision as of 12:06, 6 May 2022
Description
- Description:
- Plays in-game video in GPS frame.
If BIS fnc customGPS changed GPS texture, it is used.
GPS GUI layer is 19. - Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- [path, sizeCoef] spawn BIS_fnc_customGPSvideo
- Parameters:
- path: String - full path to image file
- sizeCoef (Optional): Number - screen size coeficient (default is 1)
- Return Value:
- Script - script which terminates itself once video ends
Examples
- Example 1:
private _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] spawn BIS_fnc_customGPSvideo; waitUntil {scriptDone _script};
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