GetPersonXFloat
From Spheriki
Get the map X coordinate of a person to floating point precision.
Contents |
[edit]
Usage
number GetPersonXFloat(person_name);
- person_name string. The name of the person to get the map X coordinate of.
- number is returned, containing the X of the person.
[edit]
Examples
This can be used in exactly the same way as GetPersonX():
var x = GetPersonXFloat("Bob");
[edit]
Notes
- "Floating point" is just a fancy term for numbers with a decimal point in them, like
8.96.
- The behaviour of this function outside of the map engine is undefined. So use it while the map engine is running.
[edit]

