BIS fnc customGPSVideo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - "Script handle" to "Script Handle")
 
(9 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 12: Line 12:
|gr1= GUI
|gr1= GUI


| Plays in-game video in GPS frame.
|descr= Plays in-game video in GPS frame.
{{Feature|arma3|Does not work in {{arma3}}. See [[BIS_fnc_playVideo]] instead}}
{{Feature|arma3|Does not work in {{arma3}}. See [[BIS_fnc_playVideo]] instead}}


|s1=[videoFilePath, sizeCoef] call [[BIS_fnc_customGPSVideo]]
|s1= [videoFilePath, sizeCoef] call [[BIS_fnc_customGPSVideo]]


|p1= videoFilePath: [[String]] - video file path
|p1= videoFilePath: [[String]] - video file path
Line 21: Line 21:
|p2= sizeCoef: [[Number]] - (Optional, default 1)
|p2= sizeCoef: [[Number]] - (Optional, default 1)


| [[Script_(Handle)|Script handle]]
|r1= [[Script Handle]]


|x1= <code>["myVideo.ogv", 0.75] [[call]] [[BIS_fnc_customGPSVideo]];</code>
|x1= <sqf>["myVideo.ogv", 0.75] call BIS_fnc_customGPSVideo;</sqf>


|seealso= [[BIS_fnc_playVideo]]
|seealso= [[BIS_fnc_playVideo]]
}}
}}
[[Category:{{Name|arma2oa}}: Functions|{{uc:customGPSVideo}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:customGPSVideo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:customGPSVideo}}]]

Latest revision as of 19:17, 9 August 2022

Hover & click on the images for description

Description

Description:
Plays in-game video in GPS frame.
Arma 3
Does not work in Arma 3. See BIS_fnc_playVideo instead
Execution:
call
Groups:
GUI

Syntax

Syntax:
[videoFilePath, sizeCoef] call BIS_fnc_customGPSVideo
Parameters:
videoFilePath: String - video file path
sizeCoef: Number - (Optional, default 1)
Return Value:
Script Handle

Examples

Example 1:
["myVideo.ogv", 0.75] call BIS_fnc_customGPSVideo;

Additional Information

See also:
BIS_fnc_playVideo

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