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

