Topic: Unblockable projectile

Setting a projectile to unblockable doesn't work for me, is this a bug?

Share

Thumbs up +1 Thumbs down

Re: Unblockable projectile

I just tested it, and its a bug indeed. The variable was never implemented for some reason. Here is how you fix it (Source required):
Under ProjectileMoveScript.cs look for this code segment:

if (opControlsScript.currentSubState != SubStates.Stunned && opControlsScript.isBlocking && opControlsScript.TestBlockStances(hit.hitType))

And change it to this:

if (opControlsScript.currentSubState != SubStates.Stunned && !data.unblockable && opControlsScript.isBlocking && opControlsScript.TestBlockStances(hit.hitType))

Fix will be available on the next update.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.