Enemy Shooting delay??
The enemy's cannons' keep shooting repeatedly, I would like for the shooting to be delayed between shots, is there a way to do this? Any help would be appreciated! - Brady Script: #pragma strict var...
View ArticleDamage on prefab collision?
Hi everyone. I'm on my second day scripting and I'm pretty lost. I was following a tutorial [here][1] [1]: http://unity3d.com/learn/tutorials/projects/survival-shooter/harming-enemies but I'm trying to...
View ArticleAttack selected Enemy Turn Based Combat
Hey everyone, I have my battlescene and my turn cycle setup. Now in the playerschoice I want to select one of the enemies. I have an Array of the enemies and select my enemy and execute one of my...
View ArticleI Want My Player To Get Push Forward And I Don't Want The Enemy To Get Push...
When the enemy hit's the player the enemy get's push backward but the player just stand's still. I want the player to get push forward and the enemy to keep on moving. here is all my codes for the...
View ArticleI need help to make the enemy keep on moving
i got the enemy to move but when the enemy hit's the player he get's push back i want the enemy to keep on moving no matter what until he dies when the enemy hit's the player he just stand's still....
View ArticleNeed help trying to make my enemy keep constant movement
I wrote a code to were my script makes the enemy move but when the enemy move down at the player he just stop I want the enemy to push the enemy the the other way around here Is my enemy script and the...
View ArticleRoll-A-Ball enemyball[Personal Extra] Cant get it to follow the player
Im building onto the roll-a-ball Project,this enemy ball is absolutly extra and isnt part of the project. My idea was to have am Enemy ball that follows you around, i have an idea of what to do when...
View ArticleSprite assignments wrong in Rogue tutorial project
When creating animations in the Rogue tutorial project, I get the same sprite assignments for Enemy1 as I had in player even though I grabbed the Enemy sprites. Also the player Chop action and Hit...
View ArticleWhy does my pathfinding script keep crashing Unity?
First, I'm going to start off saying that I know that this isn't the most efficient or best pathfinding system, I just wanted to try and create my own before looking at some of the better ways of doing...
View ArticleMove Enemy randomly in a range. 3D
Hi: Im working on a FPS mixed with some survival in 3D. I have an animated model that represents my enemy. I can make him move towards me if I am in range. If he gets closer enough he stops moving(and...
View ArticleHow To Make NPC Follow Player When In Range?
I am trying to make a hostile NPC follow and attack my player when the player is in range of the NPC. Currently, the NPC's with the following script attached start following my player the instant I...
View ArticleA.I. stops tracking player.
Hi all, I downloaded the following script from someone else for the purposes of creating the enemies in my videogame project, so that they would have at least basic behaviour. This script works fine up...
View Article2D enemy AI
Hi, I'm currently working on a 2d game but I'm stuck on the enemy AI.I want it to go to the target which the player. I've shearched on the internet but there wasn't any tutorials. I've tried myself but...
View ArticleUnity how to make different enemy spawn one at a time
im trying to make it so when an enemy spawn a different enemy will spawn in that same spot but the next enemy will be faster it's like wave's if you beat the first enemy the next one will be faster and...
View ArticleHow can an object add itself to a scripts Array when it's instantiated?
I have a manager script that manages all the enemies in my scene. To do this it has an array called EnemyObject where it manages all the objects at once. How can I have the enemy add itself to the...
View ArticleEnemy Health GUI Issues
Hi all, I'll try to explain this as best as possible. I am making a basic RPG in attempt to gain a better understanding of programming in Unity, and C#. ***The Plan:*** In the game, users can target a...
View ArticleHow can I make the enemy shoot at the player
I am trying to get a moving object to shoot at my player but it is just shooting straight forward. // put this with rocket launcher on an enemy so it will shoot at you var attackRange = 30.0; var...
View ArticleHow to detect - as an enemy - if a fellow enemy next to you is in combat with...
Heya! At the moment I'm trying to optimize our game's enemy group-AI. The scenario is as follows: ![alt text][1] The goal as a player is to pull an enemy from the group with a gun, and hope that the...
View ArticleHow To Deactivate Enemy Shooting
For some reason when the enemy and its bullet are set to turn off the bullet keeps shooting in the direction it was when it was turned off, how can I make it so that the bullet stops shooting at the...
View Articleanimations problems
basically i've made some animations using unity animator, i put them in legacy, and here everything is good, but when death animations plays the enemies move to a generic place which is the one were i...
View Article