A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
New Unity Live Help updates. Check them out here!
Any Ideas guys?
If I get this, i'm done my game :)
So I have a transform target and I need to set the target to ym main camera?
How can I do this?
This code gives me the cannot implicitly...
Yup, i cant turn the transform into the camera.
I dont know what to do to set the maincamera as my target...
Alright got that! Now for the last thing!
I need to set the target to the main camera but I am getting this error?...
Yes... I plan to look at this.
Only thing is that I'm literally 90% done this game.
I have everything working besides my enemies.
If you could...
Alright, the 2 things that won't hold are the 'Target' from AdvancedAI and Camera from 'Billboard'.
Whenever I have the enemy with everything...
Right now it spawns the first dose which do absolutely nothing because the actual values didn't pass over and then they stay there...
Well yes; however, this is referring to the prefab not holding the values of the target(player), and main_camera?
Do you know why this is and how...
Do I have to like say if there are no enemies alive then do that code or?
What lines and where? :)
Here is what I have :)
I want it do just wait until there are no enemies still alive then repeat the process :)
My enemies are floating above the ground? How can I get them to walk like attached tog round?
@lordofduct Also this :(
When the enemies spawn the target and camera values get erased and they just sit there haha!
Well I have a enemy spawner that spawns gameobjects all over the map.
I want to check if there are any gameobjects with he tag Enemy that are...
This is what I have, I'd like to have the spawning hold off until the enemies alive are dead :)
What do I need to do?
Alright, but would that check the number of enemies left?
How can i check if enemies are alive?
Like what is the line of code to see if a enemy with tag "Enemy" is alive?
Hey uhm I got ti figured out.
I want to test to see if there are enemies left, would this work?
if(GameObject.FindGameObjectsWithTag("Enemy") = 0)
Yup, how do I fix that?
So as soon as I move my Enemy to prefabs. The main camera and target are deleted off the scripts in inspector
and the enemies won't chase...