SetPersonY
From Spheriki
Set the map Y coordinate of a person.
Contents |
Usage
- 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);
- For more precise control of coordinates, use SetPersonXYFloat()