Adds a cross-fade event to the action-sequence.

A cross fade is basically a fade-out on the sequence you add the XFade to, and a fade-in on the sequence passed as a parameter. The result of a cross-fade is a smooth transition from one action-sequence to another. For a description on how fading is accomplished see FadeIn or FadeOut

Syntax:

void xfade(
 finalAction as actionSequence,
 float eventtime,
 float fadetime,
 float finalfadetime)
Parameters:
finalAction

An ActionSequence that will be the playing sequence at the end of the cross-fade

eventtime

The time at which this event will be fired. All times are relative to the time at which the script gets started by a script.Start command

fadetime

Time taken to execute the fade

finalfadetime

(optinal) Time within the action at the end of the fade

See also:

Class actionSequence |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.