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

using automarker in easy triggers or somewhere else #68

Closed
dambyul opened this issue May 18, 2022 · 3 comments
Closed

using automarker in easy triggers or somewhere else #68

dambyul opened this issue May 18, 2022 · 3 comments

Comments

@dambyul
Copy link

dambyul commented May 18, 2022

Hello, I'm using this addon when doing DSR. I want to make triggers that can use automarkers (like in jail plugin). is there a way that I can use automarkers in some other triggers?

Thank you!

@xpdota
Copy link
Owner

xpdota commented May 18, 2022

From the UI, no, the trigger maker only does basic callouts/text.

In the code, absolutely. I can look into it when I actually get progged to that point (or have a good log file + descriptions of who should get marked with what). The short version is that you'd basically just copy JailSolver and JailGui and change the handleJailCast method to whatever the condition for marking someone is. Then, you'd get the personal callout + automarks + GUI for configuring priority as with the jails.

@dambyul
Copy link
Author

dambyul commented May 18, 2022

Thanks for your fast comment. I'll edit my handleJailCast method for my case. I think It will be awesome if there is a custom jailsolver kind of thing that can be customizable because there are so many random stuffs in DSR. (like dooms or debuffs)

@dambyul dambyul closed this as completed May 18, 2022
@xpdota
Copy link
Owner

xpdota commented May 18, 2022

Sounds good, might as well make a PR for what you got and I can clean it up and release it.

Don't forget the zone lock too.

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

2 participants