Scripting: Difference between revisions

Line 340: Line 340:


Remember to put <code>wait</code> to wait for the fade. (eg. <code>wait 1.0</code> to wait one second after doing <code>cm fade 1.0</code>)
Remember to put <code>wait</code> to wait for the fade. (eg. <code>wait 1.0</code> to wait one second after doing <code>cm fade 1.0</code>)
{{HeaderNoTOC|Fading to player}}
<code>cm fadeplayer</code> is a shorthand to fade to black, reset camera to player, then fade out (with automatic waiting).


{{HeaderNoTOC|Dissolving}}
{{HeaderNoTOC|Dissolving}}
<code>cm dissolve</code> creates a short dissolve effect (a snapshot of the screen is faded out to a new shot).
<code>cm dissolve</code> creates a short dissolve effect (a snapshot of the screen is faded out to a new shot).
{{HeaderNoTOC|Blurring}}
<code>cm blur 2.0</code> toggles a blurry effect on the screen with 2.0x power.
<code>cm blur</code> toggles the blurry effect off.