Detect when you've taken a keep
So I want to detect when you've taken a keep. This is dissimilar from some addons that show you when a keep has been taken. I want to detect specifically when you have taken a keep (IE your on the flag. Basically if you have the Countinuous assault passive from the assault tree, whenever you get that buff I want to detect.)
Right now I have registered the OBJECTIVE_CONTROL_STATE event, and have figured out what some of the parameters mean. my function looks like so atm (mostly a debug function) Code:
function SC_G.ObjectiveControlState(self, objectiveKeepId, objectiveObjectiveId, battlegroundContext, objectiveName, objectiveType, objectiveControlEvent, objectiveControlState, objectiveParam1, objectiveParam2) Perhaps there is another event that would suit me better. Anyone have any clue how I would detect when you get a seige? I would really rather avoid having to deternmine your position and see if you are close enough to the flag to get points. EDIT: FIgured it out. I should be using the Capture area status event. |
All times are GMT -6. The time now is 09:17 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI