|
Post by cliffzerz on Nov 24, 2019 23:00:11 GMT
I would like to have an enemy that only walks toward the player. Similar to Mr.X in Resident Evil. I know there is a "walk by default" option for third person controller script, but I don't see anything like that in the AI melee script, or perhaps I'm not seeing it.
I've tried tinkering with the script itself, setting vAIMovementSpeed to vAIMovementSpeed.Walking and so on, but no luck. Would greatly appreciate any help. Thank you.
|
|
|
Post by Invector on Nov 25, 2019 17:08:52 GMT
If it just walks all the time you could simply remove the running and sprint animations from the blend tree
|
|
|
Post by cliffzerz on Nov 28, 2019 17:00:43 GMT
If it just walks all the time you could simply remove the running and sprint animations from the blend tree That's simple enough I guess, thanks. Also, is there a way to play a specific animation using script like with Animator.Play() for example?
|
|
|
Post by Invector on Nov 28, 2019 17:52:41 GMT
If it just walks all the time you could simply remove the running and sprint animations from the blend tree That's simple enough I guess, thanks. Also, is there a way to play a specific animation using script like with Animator.Play() for example? Yep!
|
|