Quantcast
Channel: Questions in topic: "spawn points"
Browsing index pages (102 articles)

How do I spawn a buff if there is no buff on top of it?

I have a Buff Spawner that spawns Buffs at 4 different locations. Here's what I want to do: 1. Spawn a random Buff/Debuff 2. Spawn another random Buff/Debuff every 5th wave 3. Spawn the Buff/Debuff if...

View Article


how do i get a spawn point to move to a check point in 2d?,How do I make a...

how do I get a spawn point to move to a check point in 2d? I am stuck and really need help. I am working in a 2d platformer. ,I need help figuring out how to move a spawn point to a check point. I am...

View Article


How can I pull an objects spawn vector

So I've created a spawn manager to load objects at random locations, and I'd like to pull that objects spawn location to essentially determine it's path (Ping Pong across the scene essentially) I can...

View Article

Trying to use lists to check for available spawn points

I'm trying to use lists to check for available spawn points and to select the spawn point to use. To do this I made a list called EnemySpotsAvailable and a list called EnemySpotsHeld. These lists hold...

View Article

photon Spawn 4 players in different positions

Hello Everyone .. I am building 4 players online game .. I have figured to spawn two players only in different places .. but I need to spawn another two players in another different places .. PLEASE...

View Article


How to add trigger system in my enemy spawner script/

public class spawner : MonoBehaviour { private int waveNumaber = 0; public int enemySpawnAmount = 0; public int enemykilled = 0; public GameObject[] spawners; public GameObject enemy; private void...

View Article

Spawning AI cars - weighted to ahead?

EDIT: Line breaks aren't working? ---------- I'm working on a little project where I drive around a small city with a top-down but slightly angled camera view (like [GTA Chinatown Wars][1]). Cars are...

View Article

Set spawn locations within a random initial spawn room?

Hey guys, so the deal is I have an array of rooms each has its own spawnpoint in the level. At start a random room is selected from the array. Each room also has a set of item spawn points. How do I...

View Article


Add prefabs randomly, endless runner

Hey, I'm making an endless runner. I made some prefabs which are pieces of the map spawning randomly ( to have a different map each game). My problem is that I can't figure out how to place the...

View Article


how would i make a spawn point when loading a scene?

so basicly im making a mmorpg and i need spawn points, and i am getting to the point where i need to walk to the scene from the very first, i have a chat box with an input feild were i can load any...

View Article

Spawning something if it is not within another object?

Hi everyone. I am creating a tower defense game in which the player can drag a tower from the purchase bar and then lift the left mouse button to spawn the chosen tower at the mouse position. I have...

View Article

Why does my code only run correctly once?

I want it to spawn balloons in a set distance between each other in rounds a set time apart. I can run the code successfully once but then the balloons spawn on top of each other and stop spacing...

View Article

How to choose random spawn point and spawn within its limit?

Greetings, I'm trying to have my GameManager object (wave spawner script) spawn enemies at set locations -- and at a random location inside them. I have a `public Transform[] Spawnpoints;` array in my...

View Article


spawn at specific set location/point/coordinate.

I create a game when the player hit the object, the object will spawn at specific location. my problem is the object spawn randomly and not at the specific position i want. ---------- public class...

View Article

Placing my GameObject on a Ground with differences in height

Hello, my Problem is that I downloaded a low poly Asset and the Ground has differences in height (for example at x=34 and z=20, y=2 and at x=50 and z=12, y=5). Now I want to spawn random Objects on the...

View Article


I want to specify the location of spawning

i want my enemies spawn at just one of 3 areas on x axis like 0 and 2 and -2 i don't want them to spawn like -1 or 1 what should i do code im using public GameObject obstacle; private float startDelay...

View Article

Spawn game objects from array to array of transforms

Hey guys! I need help in instantiating objects in a transform. Currently, what I want to do is when an enemy dies, it will spawn new enemies (which are in an array) in "fixed" positions (also in an...

View Article


(2D) Instantiating in front with offset

Hey In front of my moving player GameObject (rigidbody2D) another GameObject shall be instantiated. But it should not collide with my player. This always means +-0.7 to +-2 units next to it. Here is my...

View Article

How to get the initial position of all gameobjects in an array unity

Hello! I have been trying to get the initial positions of all my gameobjects in an array, so that I can use that information to make these gameobjects return to this position after an event occurs (...

View Article

Spawn objects around a curved, not circular, path

Hello! How can i Spawn objects around a random curved, not circular, path? So in the result it creates sort of a tunnel? Thank you! Reuven

View Article
Browsing index pages (102 articles)


Latest Images