BIS fnc customGPSvideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 18: Line 18:
GPS GUI layer is {{hl|19}}.
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

Revision as of 00:11, 13 July 2022

Hover & click on the images for description

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