View Single Post
01-12-16, 03:09 PM   #15
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by SDPhantom View Post
As far as I know, you can register the events yourself without tainting the secure driver system, but I'm not 100% sure.
Code:
SecureStateDriverManager:RegisterEvent("UNIT_ENTERED_VEHICLE");
SecureStateDriverManager:RegisterEvent("UNIT_EXITING_VEHICLE");
While it doesn't exactly trigger at that moment, it'll run on the next OnUpdate immediately following the event.
How can i use this exactly?

Last edited by Resike : 01-12-16 at 03:13 PM.
  Reply With Quote