benny9952
benny9952
CC#
Created by benny9952 on 3/22/2023 in #help
✅ help with bug
im idiot dw
4 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
@TheRanger don't know if you remember this but easiest fix ever Vector3 AttackDir = (GameObject.Find("Player").transform.position - transform.position); used trandform.position which will get the position of whatever it is talking about dont need a use object name
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
dont worry man im gonna assume there isnt a way to do what i want to do thanks for all the help
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
like that instance so it can just look at itslef and be like im at this positon so like when you have a an object and it knows its that object so when it calls a method and the method know that its that one
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
if that makes sense
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
so trying to set cloneEnemy to any name of clone
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
im trying to make it so whatever name it is gets the location of that clone
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
yeah that one prefab now follows me how could i change "cloneEnemy" to get whaterver name it needs?
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
still getting that
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
all different names now i removed wrong thing
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
yeah
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
they are called enemy(clone)
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
null UnityEngine.Debug:Log (object) EnemyAttack:Update () (at Assets/Scripts/EnemyAttack.cs:24)
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
still says null but the prefabs spawn in and the original follows player
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
it says its null
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
ok
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
still getting same error msg and the prefabs wont spawn in
96 replies
CC#
Created by benny9952 on 1/26/2023 in #help
✅ enemy player follow
96 replies