AttachCamera

From Spheriki

Jump to: navigation, search

Attaches the camera to the specified person, so the camera follows the player around.


Contents

Usage

function AttachCamera(person);
  • person Name of the person


Examples

CreatePerson("Pete", "guy1.rss", false);
AttachCamera("Pete");

Creates the person named Pete and attaches the camera to him.

AttachCamera("Someone_in_the_map_engine");

Attaches the camera to a person named Someone_in_the_map_engine.


Notes

You can only attach the camera to one person.


See also

Personal tools