Thread Tools Display Modes
07-12-05, 06:27 AM   #1
RN'Kot
A Defias Bandit
 
RN'Kot's Avatar
Join Date: Jul 2005
Posts: 2
Zone & coordinates script

Greetings!
I have a question about some Macro I & maybe many esle need. The purpose is that Macro should take my current coordinates & SubZone & use it in a message like:
"Warning! Horde spotted <my current SubZone> <x,y>" - or any kind of that shouted in Yell mode or in General Channel.
in which x & y are the coordinates of a character...
I found some info about the scripts & functions but still can't craete the Macro myself - doing something wrong ;( If there is or was such topic & an example of such a Macro, pliz address me there, though I didn't find such by quick-search or just post the script here.
Thanx!
  Reply With Quote
07-13-05, 02:44 PM   #2
RN'Kot
A Defias Bandit
 
RN'Kot's Avatar
Join Date: Jul 2005
Posts: 2
Ok, problem is solved by myself So the script I'm using is like just these:

Code:
/script px,py=GetPlayerMapPosition("player") 
/script SendChatMessage(format("Horde Sppoted!"), "YELL");
/script SendChatMessage(format("%s %d.%d",GetZoneText(),px*100.0,py*100.0), "YELL");
Fell free to use or update in any way
__________________
"...what the hell we'r fighting for!?..."
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Zone & coordinates script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off