runto

Script Reference Character

runto (character ; x ; y ; viewing direction ; dontwait) //Advanced

Used for : Characters.

Parameters :

- character - Name of a character in your game.
- x ,y - Walkmapcoordinaten of the destination.
- Viewing direction - Optional. 1 - 4.
- dontwait -Optional.

Description :

Makes a character run to a new position. The destination on the walkmap HAS TO BE free or the character will not start walking. Optionally you can add a viewing direction that the character shall have at the destination. 1 -Front, 2 - Back, 3 - Right, 4 - Left. dontwait" causes a cutscene or textscene to proceed instead of waiting for the character to reach the destination. [ Variables] can be used as parameters. "self" can be used to select the currently focused character.

The running speed can be changed with runspeed .