10-07-2010, 03:02 PM
I think I want to finally put my GHI Grid item to use while putting together something fun for us villains. The latest GHI is required for this.
It's going to take place in the crypts under Raven Hill. We'll be phased, so don't worry about your level. And we'll be after artifacts that I'll place in locations around the area. It's also going to be D&D style, and any spell in the WoW d20 may be used.
I'm leaning toward this Sunday, but I need to know a time all of us interested can be on to participate.
This is the code you'll need:
To get this to work, simply make a GHI item and create a "Script" right-click action. Once you hit "Add New", a window will appear. Simply copy/paste this into that box, hit "OK", then hit "Finish". Now just right click the item and it'll give you your position in a 1000x1000 grid.
This doesn't work on GMI.
Any comments/suggestions should be posted here!
It's going to take place in the crypts under Raven Hill. We'll be phased, so don't worry about your level. And we'll be after artifacts that I'll place in locations around the area. It's also going to be D&D style, and any spell in the WoW d20 may be used.
I'm leaning toward this Sunday, but I need to know a time all of us interested can be on to participate.
This is the code you'll need:
Code:
zoom = 1000
if IsInInstance() == 1 then
print( "This doesn't work in instances." )
else
origin = {}
origin[1], origin[2] = GetPlayerMapPosition( "player" )
origin[1] = ( origin[1] - ( ( origin[1] * zoom ) % 1 ) / zoom ) * zoom
origin[2] = ( origin[2] - ( ( origin[2] * zoom ) % 1 ) / zoom ) * zoom
print( "Location: ","(", origin[1],",", origin[2],")" )
end
To get this to work, simply make a GHI item and create a "Script" right-click action. Once you hit "Add New", a window will appear. Simply copy/paste this into that box, hit "OK", then hit "Finish". Now just right click the item and it'll give you your position in a 1000x1000 grid.
This doesn't work on GMI.
Any comments/suggestions should be posted here!