BIS fnc customGPSVideo: Difference between revisions
Jump to navigation
Jump to search
m (call to spawn) |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
|1.56|= | |1.56|= | ||
|arg= |= | |arg= |MPARGUMENTS= | ||
|eff= local |= Effects in MP | |eff= local |= Effects in MP | ||
Line 20: | Line 20: | ||
| [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 |PARAMETER1= | ||
|p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) |= | |p2= sizeCoef ''(Optional)'': [[Number]] - screen size coeficient (default is 1) |PARAMETER2= | ||
| [[Script_(Handle)|Script]] - script which terminates itself once video ends |= | | [[Script_(Handle)|Script]] - script which terminates itself once video ends |RETURNVALUE= | ||
|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>|EXAMPLE1= | ||
|exec= spawn |= Execution | |exec= spawn |= Execution | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Functions Library]] |= | | [[Functions Library]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:29, 7 April 2019
Description
- Description:
- Plays in-game video in GPS frame.
If BIS fnc customGPS changed GPS texture, it's used.
GUI layer for GPS is 19. - Execution:
- spawn
- Groups:
- Uncategorised
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