Dynamic Cam Custom Situation Question
Hello. I am trying to make custom situations in dynamic cam so it will zoom out slightly when I am doing some of my more impact-full abilities kind of like it does in the newest god of war. I can get it to work on channeled spells like this...
-Events- UNIT_SPELLCAST_START, UNIT_SPELLCAST_STOP, UNIT_SPELLCAST_SUCCEEDED, UNIT_SPELLCAST_CHANNEL_START, UNIT_SPELLCAST_CHANNEL_STOP, UNIT_SPELLCAST_CHANNEL_UPDATE, UNIT_SPELLCAST_INTERRUPTED -Condition- return UnitChannelInfo("player") == GetSpellInfo(111111) And on non channeled, casted spells like this. -Events- UNIT_SPELLCAST_START, UNIT_SPELLCAST_STOP, UNIT_SPELLCAST_SUCCEEDED, UNIT_SPELLCAST_INTERRUPTED -Condition- return UnitCastingInfo("player") == GetSpellInfo(111111) I am trying to figure out a way to do Instant Cast Spells such as Chi Torpedo, or Serpent Kick, and I can't find any info about what I need to modify to make that happen. I know nothing about LUA so I am just basically trying things I can google or copying from other custom situations that I can find. Any ideas I could try would be appreciated. Thanks in advance! |
Instant cast spells only generate UNIT_SPELLCAST_SUCCEEDED.
Also you can use /etrace |
Quote:
I made a feature request but cannot say when I will have time for that... https://github.com/Mpstark/DynamicCam/issues/27 |
Thank you for the responses!
Just for a little more info of what I was trying to do for future reference. I am trying a very zoomed in camera in most cases. I was hoping I could have it zoom out when I press Chi-Torpedo, or Flying Serpent Kick and stay that way for the entire animation so I could see where I was going a bit better (though its not a huge problem tbh) or even just for the effect. One more question I have while I'm at it. Is it possible to have a situation trigger on an assigned key press, and then have it revert back to whatever the current situation is (i.e. world combat etc...) with another key press? |
Quote:
|
Thanks again for the reply. I am having a blast playing with Dynamic Cam. Thanks so much for the awesome addon!
|
Hello, so I recently got into Dynamic camera and have used your condition and event listed above to make it so that my camera zooms in slightly when I use Aimed Shot/Sniper Shot.
However, this custom event appears green and says it is always active, despite my few hours of trying different ways to not make it active 24/7. Wondering if there's an easy way to make the custom event active only during spell casting. Thank you |
Can you share your "condition" script, please?
|
All times are GMT -6. The time now is 09:26 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI