Thread: Vehicle testing
View Single Post
04-21-09, 09:59 AM   #9
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I needed such a functinality aswell. I made myself a temp variable and registered the vehicleentered and the vehicleexited events to a frame. I set the temp variable to 0 and 1 depending on the event and do some other stuff.

I do this because I need to refresh my orb glow models upon entering a vehicle. Btw...arg1 can deliver "player" if you only want to track the event called by player.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote