BIS_fnc_PIP
- Arma 3 v0.50
- First in Take On Helicopters v1.00
Function · Markdown · JSON · original wiki page
Description
Displays Picture in Picture.
Syntax
[renderTarget, cameraParams, vehicle, replace] call BIS_fnc_PIP
Parameters:
renderTarget: String - render targetcameraParams: Object or Array- Object - existing camera
- Array - camera params in format [position, target]:
- position: Array in format Position3D or attachTo [object, position]
- target: Object or Array in format Position3D (same as camPrepareTarget)
vehicle: Object - (Optional) vehicle to which action is added (to memory point "action_screen1")replace: Boolean - (Optional, default true) true to replace existing PIP on same target
Returns: Object - camera
Examples
Example 1
["rendertarget0", [[heli1, heli1 selectionPosition "slingload0"], cargo1], heli1, false] call BIS_fnc_PIP;
Example 2
["rendertarget0", _myCamera] call BIS_fnc_PIP;
Example 3
["rendertarget0"] call BIS_fnc_PIP; // terminate
[] call BIS_fnc_PIP; // terminate "livefeedrendertarget0"