mpstark / DynamicCam

A more dynamic camera for World of Warcraft.
MIT License
23 stars 11 forks source link

How to make custom conditions when an ability is active such as Metamorphosis, Night Fae Soulshape, Ghost Wolf #34

Open Jordyn2209 opened 3 years ago

Jordyn2209 commented 3 years ago

Hey sorry to bother, this is my favourite addon, used it since legion great work ! I was wondering if there is a list or something on commands so people can make custom conditions based on when a spell is active such as Metamorphosis in my case an how to revert it when its ended. Or when using / casting a specific spell. I have no idea how to script it because there doesn't appear to be anywhere in the addon that explains how to. Thanks !

addonaddict commented 3 years ago

metamorphosis and other form shenanigans is why this addon is not perfect the fact that this comment went unanswered since nov 13 is sad I wish there was a better way to deal with this very obvious extreme flaw which makes the addon unusable for certain classes (there may be a way to fix it, but it is not clearly shown how, and even if there is, it is way too complicated)

@author please confirm how to deal with this? i would love to re-install this addon...

LudiusMaximus commented 3 years ago

Hey, sorry for not answering this earlier.

Making a situation that is active while a certain condition is fulfilled (like the Metamorphosis buff) is possible. But you need some lua programming skills to write into the "condition" box how to check the currently active buffs and to return "true" if the Metamorphosis spell id is among these. Furthermore, each situation needs a list of EVENTS that triggers the condition to be checked. For a situation like the one we are talking about here, that event would probably be UNIT_AURA. I completely understand that this is too complicated for a layperson to do. But my real-life jobs and family at the moment do not allow me to live my hobby of addon programming as much as I would like.

Regarding "form shenanigans" you are probably referring to the shoulder offset changing with every different form or mount? This is a flaw of how this is implemented in wow. I have started to address this with another addon: https://www.curseforge.com/wow/addons/cameraovershoulder-fix-dynamiccam/files Who knows when I will have the time to get this done...?

UPDATE: A user requested quite the same thing for Night Fae Soulshape: https://www.curseforge.com/wow/addons/dynamiccam?comment=936

addonaddict commented 3 years ago

i appreciate you responding to this i understand family comes first - and thats an expectation truth is ive come back to trying this addon at least 5 times, but the hassle of trying to make things work just to stumble onto another problem is exhausting ive tried your other addon too - but there are still conditions in which the addon just bugs out (either a form, vehicle shoulder offset jumping back and forth, and so on.. i cant remember exact issues ive had with it but there were quite a few) i still appreciate your work but i will keep an eye out for the future as currently (for me) the addon does not feel complete (not due to fault of your own)

thank you either way :)