View Single Post
07/26/18, 05:56 AM   #19
SDPhantom
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 47
Originally Posted by HailTheMoons View Post
I am still interested on some full code exemples of ZO_Prehook from the pros.
It's just that I don't want to be stuck for too long on this part.
Long story short, ZO_PreHook() runs your code whenever the original function is called. You were trying to use it to run when the returned value changes, which doesn't work that way.
  Reply With Quote