|
Post by kevios on Oct 13, 2017 18:00:15 GMT
Its possible to make a Seperate Script that Check when my player Target a Enemy and make that The Objekt where The separete Script is Attached that this Object attack The Target Enemy too?
Like The companion script?
I Want to make at The Moment a Follower pet that Follow The player and when The player Target a Enemy The per automaticly Start to attack The Enemy too. I Know there Is a companion Script in Invector but my pet Is not a human and because of this The companion Script didnt work...
Iam a bloody beginner in unity and Invector and i have now a following Script that Works perfectly but i Need a externel Script or a Code snippet that my Follower attack The Enemy where Is Target from The player ...
Can anybody help me pls? This would be Perfect!
|
|