Script Reference Character

linkchar (character ; object) //Advanced

Used for : Objects, Characters.

Parameters :

- charakster - Nam of a character in your game.
- object - Name of an object in a room.

Description :

Links the movement of a character to the movements of an object. As long as the link is active the character cannot walk by himself. If the object is moved with moveobj the linked character will be moved, too. This can be used for creating platforms or elevators. Remember that the character will change his size according to the Depth of the room. You can use stopzooming to prevent that while the character is linked. [ Variables] can be used as parameters.