cameraInterest: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(56 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CAMERAINTEREST]]
{{RV|type=command
[[Category:Scripting Commands ArmA|CAMERAINTEREST]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">'''''person'' cameraInterest ''entity'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''entity:''' [[Object]]
|game5= arma3
|version5= 0.50


|gr1= Camera Control


'''Type of returned value:'''
|descr= Return camera interest for given entity, as set by [[setCameraInterest]], or as autodetected.


[[Number]]
|s1= [[cameraInterest]] entity


'''Compatibility:'''
|p1= entity: [[Object]]


Version 2.53 required.
|r1= [[Number]]


'''Description:'''
|x1= <sqf>camInterest = cameraInterest myUnit;</sqf>


Return camera interest for given entity.
|seealso= [[setCameraInterest]]
}}

Latest revision as of 11:04, 13 May 2022

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:
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