BIS fnc liveFeed: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \|seealso *= *([^ ]*)\[\[BIS fnc ([a-zA-Z0-9_]+)\]\]([^ ]*)" to " |seealso= $1BIS_fnc_$2$3") |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Live Feed | |gr1= Live Feed | ||
| Display a live feed. | |descr= Display a live feed. | ||
| [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] | |s1= [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] | ||
|p1= source: [[Object]] or [[Position]] - live feed source | |p1= source: [[Object]] or [[Position]] - live feed source | ||
Line 17: | Line 14: | ||
|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 [[Multiplayer Scripting#Locality|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 25: | Line 22: | ||
* 2: thermal imaging | * 2: thermal imaging | ||
| [[Boolean]] - [[true]] if successful, [[false]] if not | |r1= [[Boolean]] - [[true]] if successful, [[false]] if not | ||
|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]] | ||
}} | }} |
Latest revision as of 18:02, 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