Originally Posted by Cralor
Actually, this is something that I have been trying to figure out, too.
Is there an event for the exiting of a Vehicle? That would probably do it if I could find it.
|
There is, and it's called UNIT_EXITED_VEHICLE. UNIT_ENTERED_VEHICLE is also present. The problem is that they are fired the exact moment the player enters/exists a vehicle and thus actions hooked to them fire that exact moment instead of after the unitframe animation is complete. The result is that the unitframe will be placed in the correct position for a split second only to be moved back by the "sliding in" animation.