Script Reference |
runto (character ;
x ; y ; viewing
direction ; |
Used for : Characters.
Parameters :
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 .