ex_camera_fade_out_ext(cameraHandle, duration, room, delay)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
| duration | The duration of the effect, in steps |
| room | The room to go to after the fade out |
| delay | A delay after the fade out effect and before going to the room |
This function will perform a fade out effect and will switch the room at the end of the effect.
//fade the camera out, the effect lasting 40 steps then go to room "rm_level1" with a small delay of 10 steps after the fade ex_camera_fade_out(global._camera, 40, rm_level1, 10);