> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/resume-behind-camera-289.md).

# Resume Behind Camera 289

### Signature

```c
void resumebehindcamera_289(float time, int unused, int easingType, int identifier); //id:0x0289
```

### Description

Performs a transition from an event camera to the battle camera over time.

### Arguments

#### Time

The amount of seconds it takes until the camera transition is complete.

The value is doubled after being passed.

#### Unused

This argument is unused.

#### Easing Type

Controls the amount of easing on the camera transition.

<table><thead><tr><th width="129.33333333333331">Identifier</th><th width="297">Description</th><th>Calculation</th></tr></thead><tbody><tr><td>0</td><td>Fast start and middle, normal end.</td><td><span class="math">f(x) = (sin((x * π) - π / 2) + 1) / 2</span></td></tr><tr><td>1</td><td>Slow start, normal middle and end.</td><td><span class="math">f(x) = sin((x * π) / 2 - π / 2) + 1</span></td></tr><tr><td>2</td><td>Fast start, normal middle, slow end.</td><td><span class="math">f(x) = sin(x * (π / 2))</span></td></tr><tr><td>3</td><td>No easing.</td><td><span class="math">f(x) = x</span></td></tr></tbody></table>

#### Identifier

The identifier of the camera that will be transitioned from.

This identifier refers to the camera entry in the section 8 file of the ebp file.

A value of 0 will equal the last used cutscene camera instead of camera 0. Any other value will equal the camera identifier (e.g. 1 -> camera 1).

### Notes

{% hint style="warning" %}
Before a transition can be performed, the event camera must have at least been enabled once before via functions like [Camera Start 7D](/the-insurgents-handbook/scripts/vm-call-targets/camera-start-7d.md) .
{% endhint %}

{% hint style="info" %}
If a time value higher than 0 is used, the [Resume Behind Camera Sync](/the-insurgents-handbook/scripts/vm-call-targets/resume-behind-camera-sync.md) function should be called soon after this one to stop the execution of the following functions until the camera transition is completed.
{% endhint %}
