# Camera Start 7D

### Signature

```c
void camerastart_7d(int cameraId, int cameraMappingId, int unknown1); //id:0x007d
```

### Description

Enables an event camera, sets it to the currently active one and plays its motion if it has any.

### Arguments

#### Camera Identifier

The identifier of the event camera that will be enabled.

Usually, it's OR'ed by `0x02000000` before passing it as an argument. However, this is not necessary and probably just a leftover from the dev tools used to automate the process of the camera selection.

There are a total of 4 (0->3) event cameras that can be enabled at the same time, but only one them will be used at a time.

#### Camera Mapping Identifier

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

#### Unknown 1

The purpose of this argument is unknown.

The value range is 0 -> 1 and a value of -1 equals the value 0.

### Notes

{% hint style="info" %}
If the currently used event camera is the same one as the one used in this function, the properties of the current one will be overwritten.
{% endhint %}

{% hint style="info" %}
This function also sets the camera motion speed to 100%. So if you want to modify the motion speed with functions like [camera-ratio](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/camera-ratio "mention"), it must be done after this function, not before.
{% endhint %}
