Taxi conditional for classic
pmb123 opened this issue ยท 5 comments
Please add a "in taxi" load condition. My previous ticket was closed saying vehicle would account for this, but vehicle is not in classic.
Taking a look at how it's done by the addon TopGun https://www.wowinterface.com/downloads/download25413-TopGun
It hook the function TakeTaxiNode
When the function is used, register UI_ERROR_MESSAGE and PLAYER_CONTROL_LOST
On UI_ERROR_MESSAGE unregister UI_ERROR_MESSAGE and PLAYER_CONTROL_LOST
On PLAYER_CONTROL_LOST set a local IsFlying to true and register PLAYER_CONTROL_GAINED and unregister UI_ERROR_MESSAGE and PLAYER_CONTROL_LOST
On PLAYER_CONTROL_GAINED set IsFlying to false and unregister PLAYER_CONTROL_GAINED
yep that sounds too complicated for my taste. You'll have to lobby blizzard for a less broken system.
The ticket already explains the problems with adding that, afaik nothing has changed.