no edit summary
mNo edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
:;zone: String - The name of the zone this character is currently in. This is the same value you see if you mouseover their portrait (if in group). If the character is offline, this value will be the string "Offline". | :;zone: String - The name of the zone this character is currently in. This is the same value you see if you mouseover their portrait (if in group). If the character is offline, this value will be the string "Offline". | ||
::'''BUG''' (as of 2/26/2005): It seems that the person calling this function will have their Zone value returned as nil if they have not changed locations since last reloading their UI. Once you change locations (get the name to popup on screen), it seems to return as normal. This only seems to affect when you look at the zone value of yourself from the raid. ''Could a call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() cure this? --[[User:Mikk|Mikk]] 10:30, 13 August 2006 (EDT)'' | ::'''BUG''' (as of 2/26/2005): It seems that the person calling this function will have their Zone value returned as nil if they have not changed locations since last reloading their UI. Once you change locations (get the name to popup on screen), it seems to return as normal. This only seems to affect when you look at the zone value of yourself from the raid. ''Could a call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() cure this? --[[User:Mikk|Mikk]] 10:30, 13 August 2006 (EDT)'' | ||
::You should use functions categorised under '''Location Functions''' for getting your own location text --[[User:Salanex|Salanex]] | |||
::'''Possible values:''' nil, "Offline", any valid location | ::'''Possible values:''' nil, "Offline", any valid location | ||