cameraInterest: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1 = Camera Control |GROUP1=
|gr1 = Camera Control |GROUP1=
____________________________________________________________________________________________


| Return camera interest for given entity, as set by [[setCameraInterest]], or as autodetected.|DESCRIPTION=
| Return camera interest for given entity, as set by [[setCameraInterest]], or as autodetected.|DESCRIPTION=
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''cameraInterest''' entity |SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''cameraInterest''' entity |SYNTAX=
Line 20: Line 17:
|x1= <code> camInterest = cameraInterest myUnit;
|x1= <code> camInterest = cameraInterest myUnit;
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  
____________________________________________________________________________________________


| [[setCameraInterest]] |SEEALSO=
| [[setCameraInterest]] |SEEALSO=

Revision as of 01:27, 17 January 2021

Hover & click on the images for description

Description

Description:
Return camera interest for given entity, as set by setCameraInterest, or as autodetected.
Groups:
Camera Control

Syntax

Syntax:
Number = cameraInterest entity
Parameters:
entity: Object
Return Value:
Number

Examples

Example 1:
camInterest = cameraInterest myUnit;

Additional Information

See also:
setCameraInterest

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