SetPersonX
From Spheriki
Set the map X coordinate of a person.
Contents |
[edit]
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.
[edit]
Examples
To set "Jill"'s X coordinate to 110:
SetPersonX("Jill", 110);
[edit]
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);
- For more precise control of coordinates, use SetPersonXYFloat()
[edit]

