BIS fnc customGPSVideo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 15: | Line 15: | ||
|descr= Plays in-game video in GPS frame.<br> | |descr= Plays in-game video in GPS frame.<br> | ||
If [[BIS_fnc_customGPS]] changed GPS texture, it is used. | If [[BIS_fnc_customGPS]] changed the GPS texture, it is used. GPS GUI layer is {{hl|19}}. | ||
GPS GUI layer is {{hl|19}}. | {{Feature|arma3|Does not work in {{arma3}}. See [[BIS_fnc_playVideo]] instead.}} | ||
|s1= [path, | |s1= [path, sizeCoef] spawn [[BIS_fnc_customGPSvideo]] | ||
|p1= path: [[String]] - full path to image file | |p1= path: [[String]] - full path to image file | ||
|p2= sizeCoef | |p2= sizeCoef: [[Number]] - (Optional, default 1) screen size coefficient | ||
|r1= [[Script Handle | |r1= [[Script Handle]] - script which terminates itself once video ends | ||
|x1= <sqf>private _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv",1.04] spawn | |x1= <sqf> | ||
waitUntil {scriptDone _script};</sqf> | private _script = ["\ca\video_pmc\CP00_Reynolds_b.ogv", 1.04] spawn BIS_fnc_customGPSVideo; | ||
waitUntil { scriptDone _script }; | |||
</sqf> | |||
|exec= spawn | |exec= spawn | ||
|seealso= [[ | |seealso= [[BIS_fnc_playVideo]] [[BIS_fnc_customGPS]] | ||
}} | }} |
Revision as of 10:30, 16 July 2024
Description
- Description:
- Plays in-game video in GPS frame.
If BIS_fnc_customGPS changed the 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: Number - (Optional, default 1) screen size coefficient
- Return Value:
- Script Handle - 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:
- BIS_fnc_playVideo BIS_fnc_customGPS
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