Behind To Event Camera

Signature

void behindtoeventcamera(int identifier, float time, int unused, int easingType); //id:0x034f

Description

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

Arguments

Identifier

The identifier of the camera that will be transitioned to.

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.

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

Time

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

Unused

This argument is unused.

Easing Type

Controls the amount of easing on the camera transition.

IdentifierDescriptionCalculation

0

Fast start and middle, normal end.

1

Slow start, normal middle and end.

2

Fast start, normal middle, slow end.

3

No easing.

Notes

Before calling this function:

After calling this function:

  • Enable and switch to the transitioned event camera via the Camera Start 7D function. Otherwise the battle camera will remain active and the transition will have no point as the camera will snap back right behind the player.

If a time value higher than 0 is used, the Behind To Event Camera Sync function should be called soon after this one to stop the execution of the following functions until the camera transition is completed.

Last updated