BIS fnc liveFeed: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| [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 |= | |p1= source: [[Object]] or [[Position]] - live feed source |PARAMETER1= | ||
|p2= target: [[Object]] or [[Position]] - live feed target |= | |p2= target: [[Object]] or [[Position]] - live feed target |PARAMETER2= | ||
|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 |PARAMETER3= | ||
|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 22: | Line 22: | ||
* 0: normal | * 0: normal | ||
* 1: night vision | * 1: night vision | ||
* 2: thermal imaging |= | * 2: thermal imaging |PARAMETER4= | ||
| [[Boolean]] - [[true]] if successful, [[false]] if not |RETURNVALUE= | | [[Boolean]] - [[true]] if successful, [[false]] if not |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[myUAV, [[player]], [[player]], 2] [[call]] [[BIS_fnc_liveFeed]];</code> |= | |x1= <code>[myUAV, [[player]], [[player]], 2] [[call]] [[BIS_fnc_liveFeed]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
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