Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Set camera interest for the given entity. Any unit which is speaking has its camera interest raised to 50. Camera interest is used to focus the camera to control Depth Of Field (DOF) in cutscenes. A combination of camera interest, unit position of the screen, unit movement, unit type, and some other properties is used to determine what the unit needs to focus on. Higher camera interest increases the chance of the unit being focused.

Syntax

Syntax:entity setCameraInterest interest
Parameters:
  • entity: Object - Entity for which the camera interest is set.
  • interest: Number - Camera interest to set (default: 0).
Return Value:Nothing

Examples

Examples:
_soldier setCameraInterest 50

Additional Information

See also:
Multiplayer:
Problems:

Notes