BIS fnc liveFeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Display a live feed. |= Description
____________________________________________________________________________________________
Description:
 
Display a live feed.
| [source, target, receiver, effect] call [[BIS_fnc_liveFeed]] |= Syntax
 
Parameters:
|p1= source: [[Object]] or [[Position]] - live feed source |= Parameter 1
_this select 0: OBJECT or ARRAY - Live feed source
_this select 1: OBJECT or ARRAY - Live feed target
_this select 2: OBJECT - Player that will see the feed
_this select 3 (Optional): NUMBER - Live feed effects (-1: reset, 0: normal (default), 1: night vision, 2: thermal imaging)
Returns:
True if successful, false if not.
*/


// Doesn't need to be run on a dedicated server
|p2= target: [[Object]] or [[Position]] - live feed target |= Parameter 2
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_liveFeed]]; --> |= Syntax
|p3= receiver: [[Object]] - player that will see the feed - if not [[local]], function will do nothing |= Parameter 3


|p1= |= Parameter 1
|p4= effect: [[Number]] - (Optional, default 0)  live feed effect. Can be one of:
* -1: reset
* &nbsp;0: normal
* &nbsp;1: night vision
* &nbsp;2: thermal imaging |= Parameter 4


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


|x1= <code></code> |=  
|x1= <code>[myUAV, [[player]], [[player]], 2] [[call]] [[BIS_fnc_liveFeed]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 21:55, 3 May 2018

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