SetPersonY

From Spheriki

Jump to: navigation, search

Set the map Y coordinate of a person.


Contents

Usage

SetPersonY(person_name, y);
  • person_name string. Name of the person to set the Y coordinate of.
  • y number. New Y coordinate for the person.


Examples

To set "Jack"'s Y coordinate to 90:

SetPersonY("Jack", 90);


Notes

  • If you run this before the map engine, the result may be overruled by the starting position. To get past this, add the script call to the person's queue instead:
QueuePersonScript("Jack", "SetPersonY('Jack', 90)", false);


See also

Personal tools