opida
Junior vMember
Posts: 38
|
Post by opida on Feb 25, 2020 3:22:22 GMT
Hey guys, SO basically if the TriggerGenericAction also counts for when enemy enters the collider, bc i'm trying to create an animation trigger so when the enemy enters then an dance animtion on his animator begins. Now only it recognises the player, and can't seem to find in the code where it does that. Thanks
|
|
|
Post by Invector on Feb 26, 2020 12:43:08 GMT
Hmm an easy way to do that would be to create an Event to trigger when the Enemy sees the Target and triggers the animation you want using Animation.Play(string), no need for a GenericAction at all
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on Mar 15, 2020 20:52:44 GMT
Thanks I will try it out!
|
|