View Single Post
11/15/23, 10:09 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
Your second attempt is almost correct, but the game uses ZO_Dialogs_ShowPlatformDialog instead of ZO_Dialogs_ShowDialog for these two.

Lua Code:
  1. ZO_PreHook(
  2.     "ZO_Dialogs_ShowPlatformDialog",
  3.     function(dialogName, data)
  4.         if dialogName == "RECALL_CONFIRM" or dialogName == "FAST_TRAVEL_CONFIRM" then
  5.             FastTravelToNode(data.nodeIndex)
  6.             return true
  7.         end
  8.     end
  9. )

Last edited by sirinsidiator : 11/15/23 at 10:12 AM.
  Reply With Quote