BIS fnc liveFeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Live Feed
|gr1= Live Feed


| Display a live feed.
|descr= Display a live feed.
<code>{{cc|Live feed display:}}
<code>{{cc|Live feed display:}}
[[private]] _UAVFeedDisplay {{=}} [[uiNamespace]] [[getVariable]] "BIS_fnc_PIP_RscPIP";</code>
[[private]] _UAVFeedDisplay {{=}} [[uiNamespace]] [[getVariable]] "BIS_fnc_PIP_RscPIP";</code>

Revision as of 20:48, 13 June 2021

Hover & click on the images for description

Description

Description:
Display a live feed. // Live feed display: private _UAVFeedDisplay = uiNamespace getVariable "BIS_fnc_PIP_RscPIP";
Execution:
call
Groups:
Live Feed

Syntax

Syntax:
[source, target, receiver, effect] call BIS_fnc_liveFeed
Parameters:
source: Object or Position - live feed source
target: Object or Position - live feed target
receiver: Object - player that will see the feed - if not local, function will do nothing
effect: Number - (Optional, default 0) live feed effect. Can be one of:
  • -1: reset
  •  0: normal
  •  1: night vision
  •  2: thermal imaging
Return Value:
Boolean - true if successful, false if not

Examples

Example 1:
[myUAV, player, player, 2] call BIS_fnc_liveFeed;

Additional Information

See also:
BIS fnc liveFeedEffectsBIS fnc liveFeedSetSourceBIS fnc liveFeedSetTargetBIS fnc liveFeedTerminate

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