BIS fnc customGPSvideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Changed layout template from Command to Function)
Line 1: Line 1:
{{Command|=
{{Function|=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 12: Line 12:


| Plays in-game video in GPS frame.
| Plays in-game video in GPS frame.
 
<br>
If [[BIS fnc customGPS]] changed GPS texture, it's used.
If [[BIS fnc customGPS]] changed GPS texture, it's used.
 
<br>
GUI layer for GPS is 19.|=
GUI layer for GPS is <tt>19</tt>.|=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 26:
| [[Script_(Handle)|Script]] - script which terminates itself once video ends |= RETURNVALUE
| [[Script_(Handle)|Script]] - script which terminates itself once video ends |= RETURNVALUE


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



Revision as of 03:13, 29 May 2014

Hover & click on the images for description

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:
call
Groups:
Uncategorised

Syntax

Syntax:
[path,sizeCoef] call 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

Notes

Bottom Section