• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Advanced Flight MAster

RStijn

Emulation Addict
Advanced Flight Master

This script is a configurable flight master supporting multiple flight destinations.

Features:
  • Choose mount display per faction
  • Multiple flight paths
  • Conditional flight paths

View or download script here

G9S7Ool.jpg
8zGIzjQ.jpg
RvEWufE.jpg
 

Attachments

  • WoWScrnShot_040715_112735.jpg
    WoWScrnShot_040715_112735.jpg
    324.1 KB · Views: 42
  • WoWScrnShot_040715_112747.jpg
    WoWScrnShot_040715_112747.jpg
    356.3 KB · Views: 37
  • WoWScrnShot_040715_112944.jpg
    WoWScrnShot_040715_112944.jpg
    372.1 KB · Views: 34
Last edited:

Rochet2

Moderator / Eluna Dev
Nice.
Though a few notes about the path functions:

AddTaxiPath should be used only once for each path.
It would be recommended to choose a static flight path ID of your own and use that in the script.
However doing as you do is fine, the next free flight path ID will be used.
These paths created WILL be written into memory and can be reused for the full duration of server uptime. (until restart)

In your current code a new copy of the path is always saved when someone tries to fly.

Thus I suggest following changes:
Have the path and option data at the top (like you have in the function, but without the function, just on the script body)
and then if you dont want to add the condition checks to the gossip code, maybe you could make predicate function lists that is executed and when one returns false, simply dont show the option.
I created a quick example of what I had in mind here (expires in 1 month):
http://pastebin.com/Cx6fn3sN

ps. its a draft, did not test it or run it.
 
Last edited:

RStijn

Emulation Addict
Thanks! Tested it, had to make a change but works and is certainly an improvement.
Updated on GitHub.
 
Top