SetPersonX

From Spheriki

Jump to: navigation, search

Set the map X coordinate of a person.


Contents

Usage

SetPersonX(person_name, x);
  • person_name string. Name of the person to set the X coordinate of.
  • x number. New X coordinate for the person.


Examples

To set "Jill"'s X coordinate to 110:

SetPersonX("Jill", 110);


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("Jill", "SetPersonX('Jill', 110)", false);


See also

Personal tools