GetPersonYFloat

From Spheriki

Jump to: navigation, search

Get the map Y coordinate of a person to floating point precision.


Contents

Usage

number GetPersonYFloat(person_name);
  • person_name string. The name of the person to get the map Y coordinate of.
  • number is returned, containing the Y of the person.


Examples

This can be used in exactly the same way as GetPersonY():

var y = GetPersonYFloat("Bob");


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.


See also

Personal tools