I really don't know how Ashran works but from what I could test:
1) IsInActiveWorldPVP() always return false
2) You can't be there for long if you are not accepted to the battle, you will be teleported out
3) When you are accepted BATTLEFIELD_MGR_ENTERED triggers
4) When you leave Ashran BATTLEFIELD_MGR_EJECTED triggers
5) You are not put into an instance group like Tol Barad and Wintergrasp
In Tol Barad (and Wintergrasp)
1) IsInActiveWorldPVP() return true if in the area of an active battle even if you didn't accept the invite
2) You can't be there for long if you are not accepted to the battle, you will be teleported out
3) When you are accepted BATTLEFIELD_MGR_ENTERED triggers
4) When you leave battle area BATTLEFIELD_MGR_EJECTED triggers (but I am still in Tol Barad Peninsula).
5) Tol Barad and Tol Barad Peninsula shares the same GetInstanceInfo() returns
6) When the battle finishes BATTLEFIELD_MGR_STATE_CHANGED triggered
7) Only when I left the instance group or moved out of the Tol Barad battle area (and entering in Tol Barad Peninsula) was that BATTLEFIELD_MGR_EJECTED triggered.
BATTLEFIELD_MGR_ENTERED
BATTLEFIELD_MGR_EJECTED
BATTLEFIELD_MGR_STATE_CHANGE
arg1 is the battleID: 21 Tol Barad, 24 Ashran, 1 for Wintergrasp.
__________________
"In this world nothing can be said to be certain, except that fractional reserve banking is a Ponzi scheme and that you won't believe it." - Mandrill
Last edited by Banknorris : 06-17-15 at 10:32 AM.
|