SetNextScreenTransition(TransitionStyle)
Sets the room transition type to TransitionStyle, but ONLY for the next room change. After
that, it will revert back to the normal transition type specified in the editor or with
SetScreenTransition.
For the possible values for TransitionStyle, see SetScreenTransition.
Example:
SetNextScreenTransition(eTransitionBoxout);
cEgo.ChangeRoom(10);
will go to room 10 with a box-out effect, but then return to the normal transition
type from then on.
SeeAlso: SetScreenTransition
|