View Single Post
07-17-18, 11:05 PM   #6
eoblaed
A Murloc Raider
 
eoblaed's Avatar
Join Date: Jul 2018
Posts: 7
I'm unclear as well. This is not code I wrote, it's part of an addon library that multiple addons use. I'm just trying to fix it in the face of the new API changes.

It would help if I knew what 'transforms' were in this context.

Those other calls you mentioned might be useful, except that this code is looping over a set of ids returned by GetWorlMapTransforms() (and then each id is fed to GetWorldMapTransformInfo() which gets us the various min/max/offset/etc data). It sounds like the GetWorldPosFromMapPos, et al, functions would be useful for that second step, but I'm not sure where to get the list of things to feed them.

If I knew what the ids represented that GetWorldMapTransforms() returned, that might help, but I can't find anything meaningful on that function anywhere.
  Reply With Quote