pxd2050 Posted November 16, 2021 Share Posted November 16, 2021 (edited) How to command a follower to sneak?When I ordered, follower blinked and didn't sneak. Whether something interrupted the stalker's sneaking.What should I do?Did idle interrupt the stealth? How to terminate an idle? function DogStyle(Actor _target) if !(_target.IsSneaking()) _target.StartSneaking() endif endFunction Edited November 16, 2021 by pxd2050 Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 16, 2021 Share Posted November 16, 2021 Check to see if the actor is running any AI packages that could interfere. For example, if the follower has an AI package to handle sandboxing when not moving that package could interrupt sneak by sending the actor to go do something. Link to comment Share on other sites More sharing options...
pxd2050 Posted November 16, 2021 Author Share Posted November 16, 2021 (edited) Check to see if the actor is running any AI packages that could interfere. For example, if the follower has an AI package to handle sandboxing when not moving that package could interrupt sneak by sending the actor to go do something.Thank you very much. This is the correct answer to the question.It seems that we have to create a sneak package to replace the original package and use the evaluatepackage () function? Edited November 16, 2021 by pxd2050 Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 16, 2021 Share Posted November 16, 2021 Possibly. Or add a condition to the offending package(s) that the actor not be sneaking thus preventing it from running when the actor is sneaking. Link to comment Share on other sites More sharing options...
pxd2050 Posted November 16, 2021 Author Share Posted November 16, 2021 Possibly. Or add a condition to the offending package(s) that the actor not be sneaking thus preventing it from running when the actor is sneaking.You're a genius. I'm worried about how to build a sneak package (I don't know anything about package). But it's easy for me to add a condition. Link to comment Share on other sites More sharing options...
Tasheni Posted November 16, 2021 Share Posted November 16, 2021 you can set inside the package the flag always sneak. No condition needed. I would use two packages on the alias. The first with his normal behavior, the second with the sneak flag set. Make a global variable and set it as condition to run the preferred package. Always use EvaluatePackage() in your script that alters the GlobalVariable. Link to comment Share on other sites More sharing options...
Recommended Posts