Enemy Creation
I'm trying to design my own enemy boss, sort of supposed to be a Dragon, and I have no idea what I'm doing so I get the feeling winging it (Pun intended) Isn't a good idea. Question one: What does the...
View ArticleBest way for me to deselect something once it's selected?
Hi, so I have a method that runs every frame. It deals with both selecting enemies and deselecting enemies through right-clicks. Right now it only works to select the enemy. Once you select one enemy...
View Articlehow do i count leftover enemies in screen?
hy guys, i'm confused how to count leftover enemies in screen (they are not destroy), let'me to show my code public int ScoreValue; public int penalty; // Increment score by ScoreValue if enemies...
View ArticleProblem with enemy AI
Hey guys ! I have been trying to make an simple AI, that goes to player and when its in range, it attacks. All worked well, but then I added more attacks (like kick) and ruined my code :D It changes...
View ArticleLook at closer to player
how i can look at closer to you, i want gameobject like box look at to some object like sphere, imagine is : 1 box as player, 5 sphere as enemy, i want to make player to look at enemy(just one enemy),...
View ArticleHELP,How to change between two speeds smoothly?
I have to speeds One is when he detects the player 4.5f Second is when he just walking 2,5f **I want to create very smooth increase and decrease between these two** What I need to do? *Please help*...
View ArticleHow to add Mathf.SmoothDamp of MoveTowards in my enemy script?
I want to make transition between two speeds 4.5 and 2.5 smooth not sharply fast How can i do it with mathf.smoothdamp or mathf.moveTowards?? ***Please Help!*** void Behaviours() { if (spotted == true)...
View ArticleUnity Melee Attack Problem / Atak problemi var yardım edin :(
https://www.youtube.com/watch?v=HqX1xpLvKhE
View ArticleI Can't make 3D Enemy Random Spawn and this Random Moving..
Hello ! I Can't make Enemy Random Spawn and this Random Moving.. But I made 3D Enemy Monster object and 3D map!.. But this monster didn't move... So.. What can i do .. Ah,, and i add to this HP and...
View ArticleHow to make all enemies attack after spawning? Not only 1.
I have done the enemy chase script and the enemy spawner but everytime the enemies spawn in the chase the player but only 1 attacks. Please help
View ArticleHow to make enemy follow player after spawns?
I press play, the enemies spawn in and approachs the player then attacks. But as I move the player, the enemies attack where the player started. **Here's the scripts -** **Chase script :** using...
View ArticleHow to make enemy follow player after spawning in?
I press play, the enemies spawn in and approachs the player then attacks. But as I move the player, the enemies attack where the player started. PLEASE HELP! **Here's the scripts I use -** **Enemy...
View ArticleHow to get enemies to attack player after spawning?
I press play, the enemies spawn in and approachs the player then attacks. But as I move the player, the enemies attack where the player started. PLEASE HELP! Here's the scripts I use - Enemy Chase...
View ArticleHow to make enemys do damage and you dying etc
So I have a zombie arcade game in 3d, zombies can die, i do dmage, they fallow me, alls good. I Besides I need the zeds to be able to kill me as in 4 hits to me ends the game and switches to a GAME...
View ArticleMake circular moving object stay within a specific area
Hello, Currently I have successfully implemented an enemy that can moving in a circular motion, however, when I begin the game the enemy goes off to a completely random area of the level. How would I...
View ArticleHow to make enemy follow player after spawning in?
I press play, the enemies spawn in and approachs the player then attacks. But as I move the player, the enemies attack where the player started. PLEASE HELP! **Here's the scripts I use -** **Enemy...
View ArticleFlying Zombie
public Transform target; public int moveSpeed; public int rotationSpeed; public int maxdistance; private Transform myTransform; void Awake(){ myTransform = transform; } void Start () { GameObject go =...
View ArticleHow do I make an enemy go through walls, etc and follow then kill the player?
Now I was thinking. Like the Swamp Simulator game. In it when you don't have any onions/layers yet Shrek doesn't come yet. But then after getting the first onion he moves slow as heck. But the more...
View ArticleStore health independently for tagged gameobjects
Hi guys, I am using Raycast to hit the target. When I am shooting the target, the variable keeps decrementing. For instance: If max health is 100, and I shoot target1 once, the health is amounted to...
View ArticleBoolean being overwritten
So I have a method that checks to see if you clicked on an 'enemy' gameobject. I want to be able to deselect the enemy by clicking away, say on some terrain, and I tried doing this with booleans. if...
View Article