Character Spawn Point

Hello Everyone,

I need little help from you. I have a build as named “Main House” this main house create a character in every 3 minutes. I want to my character born near Dogma Noktası.z + 5 build made him ?

Instantiate (KarakterTipi, DogmaNoktasi.transform.position, Quaternion.identity);
yield WaitForSeconds (UretmeZamani);

Regards

Vincenzo

Create a variable of type Vector3, set it to the DogmaNoktasi position, then increase Z by 5, and then instantiate.

Like so:

var new_pos : Vector3 = DogmaNoktasi.transform.position;
new_pos.z += 5;
Instantiate (KarakterTipi, new_pos, Quaternion.identity); 
yield WaitForSeconds (UretmeZamani);

Thank you for your help…

You are great!

That’s good to hear.

Good luck programming.