BIS fnc liveFeed: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\{\{=\}\}([^<]*)<\/code>" to "<code>$1=$2</code>") | Lou Montana (talk | contribs)  m (Some wiki formatting) | ||
| Line 7: | Line 7: | ||
| |descr= Display a live feed. | |descr= Display a live feed. | ||
| |s1= [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] | |s1= [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] | ||
| Line 27: | Line 25: | ||
| |x1= <sqf>[myUAV, player, player, 2] call BIS_fnc_liveFeed;</sqf> | |x1= <sqf>[myUAV, player, player, 2] call BIS_fnc_liveFeed;</sqf> | ||
| |x2= live feed display: | |||
| <sqf>private _UAVFeedDisplay = uiNamespace getVariable "BIS_fnc_PIP_RscPIP";</sqf> | |||
| |seealso= [[BIS fnc liveFeedEffects]] [[BIS fnc liveFeedSetSource]] [[BIS fnc liveFeedSetTarget]] [[BIS fnc liveFeedTerminate]] | |seealso= [[BIS fnc liveFeedEffects]] [[BIS fnc liveFeedSetSource]] [[BIS fnc liveFeedSetTarget]] [[BIS fnc liveFeedTerminate]] | ||
| }} | }} | ||
Revision as of 11:34, 13 July 2022
Description
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:
- Example 2:
- live feed display:
Additional Information
- See also:
- BIS fnc liveFeedEffects BIS fnc liveFeedSetSource BIS fnc liveFeedSetTarget BIS 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
 
	