Loading new level after killing enemies
Hello i just started using unity3d, and i have some basic javascript expirience,what i want is when i kill all my enemies a new level should load, i used this: function OnCollisionStay (col :...
View ArticleHow do I make an enemy?
I'm new and I really want to know how to make a cube (or any other object) act as a enemy (attack, loose heath ect.) Any suggestions?
View ArticleHow To Make Enemy Shoot At You?
Hello, i want to make enemy shoot at me when it starts to follow me, im not sure but i think i should put the enemy shooting script in enemy AI script. What i am looking for is enemy shooting script,...
View ArticleHow would I go about enemy spawning? (C#)
My next step I'm going to be taking is enemy spawning, I'd love to take an approach where: Enemy type is predefined, but enemy level can be changed by a script on level load. The locations can also be...
View ArticleEnemy Attraction/Aggro
I have been trying to have my enemy react to the player and if there are any nearby enemies within its sphere collider trigger that those enemies will also be aggroed and target and chase the player....
View ArticleAI enemy Stuck at corners
I have an AI script for my enemy which has character controller: Its aim is to follow the player and It actually does But when the ai meets certa![alt text][1]in situations like what is on the attached...
View Articlehow to Script Enemy(AI) so that it hits the player randomly?
I'm designing a hack and slash game and I've written a script for the enemy so it reaches the player, I want to know how can I make it hit the player randomly when it is nearby the player? Any helps...
View ArticleGame 2x speed object pass through other
I am making a basic TD game with a fast-forward feature. When i press the fast-forward button, the game speeds up, but the bullet that the turret shoots goes through the enemy (object). This is the...
View ArticleHow can I load a scene when the enemy hits the player?
Here's my script. Is there a way to start a new scene start as soon as the enemy hits the player? var target : Transform; var lookAtDistance = 20.0; var attackRange = 15.0; var moveSpeed = 20.0; var...
View ArticleList what spawner enemy spawned from?
I have an enemy spawner(perfab) that has an internal count that will reach to a top number to stop spawning, when an enemy(prefab) is killed the count will go down so it can spawn more enemies. The...
View ArticleEnemy Pathing
I have the following script for the enemies in my game. The problem is, they will mesh with each other when following. How do you get them to keep a certain distance away from each other? var target :...
View ArticleHow to keep count of enemies left
How I can check how many gameobjects with tag: "enemy" there is left in the scene, and after that it gets to zero then it will change level to another scene. I'm learning c# so I would prefer help on...
View ArticleBootcamp destroy a Enemy
Hi I downloaded the Bootmcamp project and I want to made a enemy witch can be destroyed with the machinegun, but I dont know how to detect the projectil of the gun(it hasnt a collider)(I think they are...
View ArticleUnity Engine GameObject error? help please
so some days ago I've been working on the AI, and it was working pretty well actually, now I was making random enemy spawner in random spawnpoints and I tried, I noticed that there was happenning a...
View ArticleScript to make an enemy follow the player when they trigger a door?
Hello! I'm currently working on a new game with a group called Exclavian Studios. Our current project is to make a Horror Puzzle Game called "Memorize." Right now, I'm running into a bit of an issue....
View ArticleAI pause and attack a player in c# (script included)
Hi all, Just need a little help understanding how I should be doing this. Currently, I have a prototype where I have a set of waypoints in my script for an AI object to move along. At some point when a...
View ArticleHelp With Maze Pathfinding AI.
I have made a level that is more or less a maze. I am trying to make an AI that, when spawned, will navigate through the maze to the player. I have done a lot of research on something like this but i...
View ArticleEnemy movement on uneven 3D terrain
When an Enemy in my game (RPGish) becomes aware of the player and gives chase, it falls through the terrain if there's a height difference (uneven/hilly terrain); Enemy has Character Controller/Motor...
View ArticleEnemies in a row
So I just started coding in unity and now I've made a simple space shooter-ish game where an enemy comes from right to left. After the enemy exits the screen he resets and comes back from the right in...
View ArticleMaking bullet holes in enemies.
Hi! I am making an fps based on the fps tutorial. I have a raycast machine gun and a enemy robot. The enemy robot looks like this: ![alt text][1] [1]: /storage/temp/13713-robot.png As you can see, the...
View Article