Enable Disable Object issues

7Dev

New member
Hello, I'm trying to use the Enable Disable Object Effect, it works if I attack slowly once at a time, but if I combo it seems to just stop working.

 
It seems there is a bug in the code, it takes the previous enable state, but if repeated before the revert time the previous state will the the same as the current so it returns to the same state causing the object to always be enabled in yoru case.

So I made a few adjustements. Please find the new script attached, it will also be available in the next update
 

Attachments

  • EnableDisableObject.cs
    2.5 KB · Views: 0
Top