Jump to content

[LE] How to check if NPC is frozen/paralyzed?


Savaas

Recommended Posts

Hello,

 

I'm making a boss encounter for my mod and the boss uses a tweaked version of this teleport script:

(not really required to watch the video to get my question)

He can teleport behind you when hit or near you when you run away.

 

One problem though is if you use Ice Form on him, the teleport script can still trigger and he'll try to teleport while frozen, I imagine the same will happen if paralyzed too.

 

So I want to disable the script while in a state that he can't move. But I've been searching around and I can't seem to find anything that can check if a character is able to move.

Something like canAttack or canWalk would be exactly what I need, but I don't think any check like that exists.

 

Does anyone have an idea to do this?

 

Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...