BIS fnc liveFeed: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN -->  <!-- Note Section END --> </dl> " to "") | Lou Montana (talk | contribs)  m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) | ||
| Line 1: | Line 1: | ||
| {{Function | {{Function | ||
| | arma3  | | arma3 | ||
| |1.00 | |1.00 | ||
| |gr1= Live Feed  | |gr1= Live Feed | ||
| | Display a live feed. | | 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> | ||
| | [source, target, receiver, effect] call [[BIS_fnc_liveFeed]]  | | [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] | ||
| |p1= source: [[Object]] or [[Position]] - live feed source  | |p1= source: [[Object]] or [[Position]] - live feed source | ||
| |p2= target: [[Object]] or [[Position]] - live feed target  | |p2= target: [[Object]] or [[Position]] - live feed target | ||
| |p3= receiver: [[Object]] - player that will see the feed - if not [[local]], function will do nothing  | |p3= receiver: [[Object]] - player that will see the feed - if not [[local]], function will do nothing | ||
| |p4= effect: [[Number]] - (Optional, default 0)  live feed effect. Can be one of: | |p4= effect: [[Number]] - (Optional, default 0)  live feed effect. Can be one of: | ||
| Line 23: | Line 23: | ||
| *  0: normal | *  0: normal | ||
| *  1: night vision | *  1: night vision | ||
| *  2: thermal imaging  | *  2: thermal imaging | ||
| | [[Boolean]] - [[true]] if successful, [[false]] if not  | | [[Boolean]] - [[true]] if successful, [[false]] if not | ||
| |x1= <code>[myUAV, [[player]], [[player]], 2] [[call]] [[BIS_fnc_liveFeed]];</code>  | |x1= <code>[myUAV, [[player]], [[player]], 2] [[call]] [[BIS_fnc_liveFeed]];</code> | ||
| | [[BIS fnc liveFeedEffects]], [[BIS fnc liveFeedSetSource]], [[BIS fnc liveFeedSetTarget]], [[BIS fnc liveFeedTerminate]]  | | [[BIS fnc liveFeedEffects]], [[BIS fnc liveFeedSetSource]], [[BIS fnc liveFeedSetTarget]], [[BIS fnc liveFeedTerminate]] | ||
| }} | }} | ||
| <h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 23:09, 17 January 2021
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
 
	