WoW-Pro Guides

WoW-Pro Guides

3M Downloads

FP Table

CodingDino opened this issue ยท 6 comments

commented

Build a table of FP the character knows, so that FP steps can be automatically checked off if the character already knows them.

Would be nice to create a way for other steps to also be checked off based on this - a |FP| tag, perhaps.

commented

Between TAXIMAP_OPENED and TAXIMAP_CLOSED events , you can iterate from 1 to NumTaxiNodes() and get TaxiNodeName(idx) for each flight point and save it.

Then you could auto-complete the get the flight point steps.

commented

Now writing the code for this ...

commented

I don't think there's any easy API for this, but there's a way to build that table (if anyone else wants to work on it): apparently, you can have acess to all the flightpoint names whenever a player opens the flight map ( talks to the flightmaster), but only in that map, ie, in a single continent. But as long as the player, eventually, uses flight once in every continent, the table can be built completely. Then, we just need to add new learned FPs.

commented

Yup, that's how other addons handle it, I believe. But this is super low priority right now.

commented

Oh yeah, definately. I was just going through the issues list to see if I had any new ideas. I was bored while staying with my family during the weekend, without my laptop, with no git, no WoW,... :p

commented