BIS fnc customGPSvideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_")
 
(45 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=function
____________________________________________________________________________________________


| arma2oa |=
|game1= arma2oa
|version1= 1.56


|1.56|=
|game2= tkoh
|version2= 1.00


|arg= |= MPARGUMENTS
|game3= arma3
|version3= 0.50


|eff= local |= Effects in MP
|gr1= GUI
____________________________________________________________________________________________


| Plays in-game video in GPS frame.
|eff= local


If [[BIS fnc customGPS]] changed GPS texture, it's used.
|descr= Plays in-game video in GPS frame.<br>
If [[BIS_fnc_customGPS]] changed GPS texture, it is used.<br>
GPS GUI layer is {{hl|19}}.


GUI layer for GPS is 19.|=
|s1= [path, ''sizeCoef''] spawn [[BIS_fnc_customGPSvideo]]
____________________________________________________________________________________________


| [path,''sizeCoef''] call '''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
|r1= [[Script Handle|Script]] - script which terminates itself once video ends


| [[Script_(Handle)|Script]] - script which terminates itself once video ends |= RETURNVALUE
|x1= <sqf>private _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] spawn BIS_fnc_customGPSvideo;
waitUntil {scriptDone _script};</sqf>


|x1= <code>_script <nowiki>=</nowiki> ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] spawn bis_fnc_customGPSvideo;<br />[[waitUntil]] {[[scriptDone]] _script};</code>|= EXAMPLE1
|exec= spawn
____________________________________________________________________________________________


| [[Functions Library]] |= SEEALSO
|seealso= [[Functions Library]]
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: Functions|CUSTOMGPSVIDEO}}]]
[[Category:Function Group: GUI|customGPSvideo]]

Latest revision as of 19:04, 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