— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Instantly rotates the camera to point towards the specified entity or coordinate.
look_at_target(target)
Argument | Description | Type | Required |
---|---|---|---|
target | Target to aim the camera towards. | Entity or Coordinate | Yes |
Lock Camera must be called before using this function to prevent the player from manually controlling the camera.
look_at_target(entity["chest01"]);
Results: The camera's angle is instantly adjusted to aim towards the entity with an ID of “chest01”.
Use the Look At Target function to focus on certain characters/events during a cutscene or to indicate to the player that something in the scene has changed.