BIS fnc customGPSVideo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2oa | | arma2oa | ||
|1.56 | |1.56 | ||
|gr1= GUI | |gr1= GUI | ||
|arg= |MPARGUMENTS= | |arg= |MPARGUMENTS= | ||
Line 13: | Line 13: | ||
| Plays in-game video in GPS frame.<br> | | Plays in-game video in GPS frame.<br> | ||
If [[BIS fnc customGPS]] changed GPS texture, it is used.<br> | If [[BIS fnc customGPS]] changed GPS texture, it is used.<br> | ||
GPS GUI layer is <tt>19</tt>. | GPS GUI layer is <tt>19</tt>. | ||
| [path, ''sizeCoef''] spawn [[BIS_fnc_customGPSvideo]] | | [path, ''sizeCoef''] spawn [[BIS_fnc_customGPSvideo]] | ||
|p1= path: [[String]] - full path to image file | |p1= path: [[String]] - full path to image file | ||
|p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) | |p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) | ||
| [[Script_(Handle)|Script]] - script which terminates itself once video ends | | [[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>_script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] [[spawn]] [[BIS_fnc_customGPSvideo]]; | ||
[[waitUntil]] {[[scriptDone]] _script};</code> | [[waitUntil]] {[[scriptDone]] _script};</code> | ||
|exec= spawn |Execution= | |exec= spawn |Execution= | ||
| [[Functions Library]] | | [[Functions Library]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 22:59, 17 January 2021
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:
_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