Savaas Posted February 5, 2017 Share Posted February 5, 2017 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 More sharing options...
lofgren Posted February 5, 2017 Share Posted February 5, 2017 GetActorValue("Paralyzed") >= 1.0 Means actor is paralyzed. I can't quite remember the actor value right now. It might be "paralysis" rather than "paralyzed." Link to comment Share on other sites More sharing options...
Savaas Posted February 5, 2017 Author Share Posted February 5, 2017 Oh perfect I had no idea the GetActorValue function can check if paralyzed. I'll try that out, thanks! I fond the wiki page and it does seem to be "paralysis" btw. Link to comment Share on other sites More sharing options...
Recommended Posts