{"name":"BIS_fnc_customGPSVideo","operator":null,"title":"BIS fnc customGPSVideo","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_customGPSVideo","revid":365057,"updated":"2024-07-16T09:31:55Z","groups":["GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.56"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.56"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":"spawn","description":"Plays in-game video in GPS frame.\n\nIf BIS_fnc_customGPS changed the GPS texture, it is used. GPS GUI layer is `19`.\n\n> [!NOTE]\n> **Arma 3:** Does not work in Arma 3. See BIS_fnc_playVideo instead.","syntaxes":[{"syntax":"[path, sizeCoef] spawn BIS_fnc_customGPSVideo","since":null,"effect":null,"exec":null,"params":[{"name":"path","type":"String","optional":false,"default":null,"description":"full path to image file","types":["String"],"since":null,"text":"path: String - full path to image file"},{"name":"sizeCoef","type":"Number","optional":true,"default":"1","description":"screen size coefficient","types":["Number"],"since":null,"text":"sizeCoef: Number - (Optional, default 1) screen size coefficient"}],"returns":{"type":"Script Handle","types":["Script Handle"],"description":"script which terminates itself once video ends","text":"Script Handle - script which terminates itself once video ends"}}],"examples":[{"text":"```sqf\nprivate _script = [\"\\ca\\video_pmc\\CP00_Reynolds_b.ogv\", 1.04] spawn BIS_fnc_customGPSVideo;\nwaitUntil { scriptDone _script };\n```","code":["private _script = [\"\\ca\\video_pmc\\CP00_Reynolds_b.ogv\", 1.04] spawn BIS_fnc_customGPSVideo;\nwaitUntil { scriptDone _script };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_playVideo","BIS_fnc_customGPS"],"notes":[],"categories":["Arma 2: Operation Arrowhead: Functions","Arma 2: Operation Arrowhead: New Functions","Arma 3: Functions","Function Group: GUI","Functions","Functions: Local Effect","Introduced with Arma 2: Operation Arrowhead version 1.56","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}