Skip to content

48 — Center Camera at Waypoint...

Pans the tactical view to a waypoint over a fixed number of frames.

Editor data
Numeric ID
48
Engine ID
TACTION_CENTER_VIEWPOINT
Editor name
Center Camera at Waypoint...
Need token
NEED_SPEED_AND_LOCATION
Parameters
  1. Speedcamera-speed
  2. Waypointwaypoint
Attachment
none
INI example
[Actions]
<TriggerID>=1,48,0,<Speed>,0,0,0,0,<Waypoint>

The view pans to the waypoint’s cell at ground level. If a bridge covers the cell, or covered it before being destroyed, the view pans to the bridge’s height instead.

A pan takes the same number of frames for a given speed, whatever the distance. Camera speed gives the number of frames each speed takes, and what a speed outside the five does.

Valid values

  • One of the five [camera speeds](/reference/enums/camera-speed/) and a scenario waypoint.
Caveats
  • The action does not lock input. If the player scrolls during the pan, the pan puts the view back on its path every frame until it arrives.
  • A second pan started before the first arrives replaces it. The new pan starts from wherever the view has reached.