Script Reference Character

lookto (character ; viewing direction) //Beginner

Used for : Characters.

Parameters :

- character - Name of a character in your game.
- viewing direction - Can 1 - 4 or the name of another character.

Description :

Changes the viewing direction of a character. Possible values are 1 - Front, 2 - Back, 3 - Right, 4 - Left. Alternativly you can enter the name of another character you want your character to look at. [Variables] can be used as parameters. "self" can be used instead of a character name to select the currently focussed character.