Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Map change event and target change events #247

Open
xpdota opened this issue Mar 11, 2022 · 0 comments
Open

Feature request: Map change event and target change events #247

xpdota opened this issue Mar 11, 2022 · 0 comments

Comments

@xpdota
Copy link

xpdota commented Mar 11, 2022

I would like to request a couple events:

First one: Map change. Basically, same as ChangeZone, but for map changes instead of zone changes. This is currently accessible indirectly by subscribing to LogLines, but a plugin that subscribes in that manner won't have any idea what map you're in until another map change event comes in. In order to overcome this, it would need to return initial values upon subscribing like ChangeZone. Maps often make more sense than zones for things like triggers and timelines, since it lets you separate the triggers by individual boss fight for dungeons and such.

Second: Something like EnmityTargetData and EnmityAggroList, that just informs you when any entity changes targets. Could be as simple as:

{
  "type": "ChangeTarget",
  "entity": 1234,
  "newTarget": 5678  // or null, if it no longer has a target
}

Doesn't need the rest since that's all available in getCombatants.

sandtechnology pushed a commit to sandtechnology/OverlayPlugin that referenced this issue Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant