BIS fnc liveFeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Display a live feed. |= Description
| Display a live feed. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] |= Syntax
| [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] |SYNTAX=


|p1= source: [[Object]] or [[Position]] - live feed source |= Parameter 1
|p1= source: [[Object]] or [[Position]] - live feed source |= Parameter 1
Line 24: Line 24:
*  2: thermal imaging |= Parameter 4
*  2: thermal imaging |= Parameter 4


| [[Boolean]] - [[true]] if successful, [[false]] if not |= Return value
| [[Boolean]] - [[true]] if successful, [[false]] if not |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 30:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS fnc liveFeedEffects]], [[BIS fnc liveFeedSetSource]], [[BIS fnc liveFeedSetTarget]], [[BIS fnc liveFeedTerminate]] |= See also
| [[BIS fnc liveFeedEffects]], [[BIS fnc liveFeedSetSource]], [[BIS fnc liveFeedSetTarget]], [[BIS fnc liveFeedTerminate]] |SEEALSO=
}}
}}



Revision as of 12:29, 7 April 2019

Hover & click on the images for description

Description

Description:
Display a live feed.
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section