Originally Posted by HailTheMoons
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.