ID:173688
 
I'm REALLY NEW to programming and i need a verb that will post the location of the current mob to get it like

XYZ needs backup at (250,250) ext
Zakara wrote:
I'm REALLY NEW to programming and i need a verb that will post the location of the current mob to get it like

XYZ needs backup at (250,250) ext


Would be something like...
(assuming that you are the main character calling your own position)

mob/verb
CallLoc()
world << "[usr.name] needs backup at [usr.x],[usr.y]"


I could be wrong, but that's as close as I see it to be...
In response to Mart2J
mobdude.loc won't work. Try mobdude.x and mobdude.y
In response to Jon88
Jon88 wrote:
mobdude.loc won't work. Try mobdude.x and mobdude.y


Oh, never really played with those... *goes back and edits post*
In response to Mart2J
thx guys!