FollowPerson

From Spheriki

Jump to: navigation, search

Makes a person follow someone else.


Usage

FollowPerson(name, leader, pixels);
  • name The person that is to follow.
  • leader The person to be followed.
  • pixels The number of pixels to follow by.


Examples

FollowPerson("bob", "man", 16);

This will make "bob" follow "man" 16 pixels behind him.

FollowPerson("bob", "", 0);

This will detach "bob" from following anyone.

Personal tools