BIS fnc customGPSvideo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[Script.+) * +\|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_") |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1.56 | |version1= 1.56 | ||
|game2= tkoh | |game2= tkoh | ||
Line 14: | Line 14: | ||
|eff= local | |eff= local | ||
| Plays in-game video in GPS frame.<br> | |descr= Plays in-game video in GPS frame.<br> | ||
If [[ | If [[BIS_fnc_customGPS]] changed GPS texture, it is used.<br> | ||
GPS GUI layer is | GPS GUI layer is {{hl|19}}. | ||
|s1=[path, ''sizeCoef''] spawn [[BIS_fnc_customGPSvideo]] | |s1= [path, ''sizeCoef''] spawn [[BIS_fnc_customGPSvideo]] | ||
|p1= path: [[String]] - full path to image file | |p1= path: [[String]] - full path to image file | ||
Line 24: | Line 24: | ||
|p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) | |p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) | ||
|r1=[[ | |r1= [[Script Handle|Script]] - script which terminates itself once video ends | ||
|x1= < | |x1= <sqf>private _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] spawn BIS_fnc_customGPSvideo; | ||
waitUntil {scriptDone _script};</sqf> | |||
|exec= spawn | |exec= spawn | ||
Line 33: | Line 33: | ||
|seealso= [[Functions Library]] | |seealso= [[Functions Library]] | ||
}} | }} | ||
Latest revision as of 19:04, 13 July 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