ReturnScreen routine

TURBU

ReturnScreen routine

 

Causes the screen to return to the current party.

 

Syntax

 

procedure returnScreen(speed: byte; wait: boolean);

 

Description

 

This routine causes the screen to move to recenter itself around the current party after having been moved away from it with the panScreen or panScreenTo routines.  The speed parameter indicates the speed at which the screen scrolls, from 1 (slowest) to 6 (fastest).  Passing 0 or any other invalid value causes the scroll speed to remain unchanged.  If true is passed to the wait parameter, the script's execution will pause until the pan is complete.

 

Related topics

panScreen routine

panScreenTo routine

This help file was created with the free trial version of HelpScribble.