Added: 1 year ago
From: BurgZergArcade
Views: 36,645
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (109)

Sign In or Sign Up now to post a comment!
  • Check my video! We are making a nice game , AND YES! you can join helping!

  • How did you make your game bg blue? Mines black and I'm having a difficult time seeing the healthbars, I can see the numbers and that they bars themselves are functional but can't see the rectangular label the numbers are sitting on.

  • When you write anything about Unity, the MonoDevelop autocomplete you. things like GameObject, Transform.

    How to do that? Only works for ProVersion of unity?

  • @brunot93 Tap the TAB key when it shows up the choice menu.

  • gray, green grey speeled differently i laughed really hard

  • it gives me:Assets/Scripts/EnemyAI.cs(1­7,28): error CS0029: Cannot implicitly convert type `UnityEngine.GameObject[]' to `UnityEngine.GameObject'

    what should I do?

  • @WildTiger18188 looks like you have a type there.

  • @WildTiger18188 you have set it to 'GameObject.FindGameObjectsWit­hTag'

    Make sure that it is 'FindGameObjectWithTag' notice the word 'Object' has no 's' on the end.

  • @WildTiger18188 You put "FindGameObjectsWithTag" instead of "FindGameObjectWithTag"

  • im getting : UnassignedReferenceException: The variable target of 'EnemyAI' has not been assigned.

    You probably need to assign the target variable of the EnemyAI script in the inspector.

    EnemyAI.Update () (at Assets/Objects/classes/EnemyAI­.cs:25)

    anyone know what this means?

  • i dont have C sharp i have C# is that the same?

  • dude, thanks in advance, but I'm getting

    Assets/Scripts/EnemyAI.cs(15,2­0): error CS0029: Cannot implicitly convert type `UnityEngine.GameObject[]' to `UnityEngine.GameObject'

    what should I do?

  • @seasidekai using UnityEngine;

    using System.Collections;

    public class EnemyAI : MonoBehaviour { public Transform target; public int moveSpeed; public int rotationSpeed; private Transform myTransform; void Awake(){ myTransform = target; } // Use this for initialization void Start () { GameObject go = GameObject.FindGameObjectsWith­Tag("Player"); } // Update is called once per frame void Update () { }

    }

  • @seasidekai

    You are calling the "FindGameObjectsWithTag" function and NOT the "FindGameObjectWithTag" function. The difference is subtle but important :)

  • Thanks for this tutorial! It was clear and understanding! Great job!! :D

  • This is for everybody that doesn't get a line... You don't see it because your in game view! I had the same problem! I went into scene view and the line was there!!!!!! Don't look in game vie it wont be there. if you want to actually see the line go into scene view! That is the problem... (:

  • Okay This Pisses Me Off Bad At This Point, I Got It To Work Before, Not Anymore, I Couldn't Make It Rotate Right So I Started A New Script, Deleted Old One, Now I'm To The Point Of The Line, Wont Work, I Have Exactly What Yours Says.

  • Could you please explain what Quaternion is and how it is used ? thanks

  • @EdgeSphere Who said they cost $10?

  • I am at about 9 minutes into the video and the debug.drawline isn't showing up. I get this error: "NullReferenceException

    UnityEngine.Transform.get_posi­tion () (at C:/BuildAgent/work/842f9557127­e852/Runtime/ExportGenerated/E­ditor/UnityEngineTransform.cs:­19)

    EnemyAI.Update () (at Assets/My Scripts/EnemyAI.cs:25)" what should i do? Thanks in advance. :)

  • @0oLasseo0 the nullreference means that you are trying to access something that does not exist in game. Check to make sure that everything is spelled the right way and has everything connected in the inspector like it should.

  • @BurgZergArcade i have the same problem as 0oLasseo0 and i've checked everything and nothing is wrong from the video so is the line really needed? bc i can't get it in there!!! Please help!!!

  • @BurgZergArcade i have that error too... Im checking the spelling but... i think its everything like you... :( i dont know... :(

  • lol....wierd way to end the vid....a phone cal...hahaha

  • fixed it player's was un capitalized in the qoute targeting script

  • mine wont target

  • how can i make it so the enemy cant go through objects with the mesh collider on?

  • the evil cubie fly´s away -.-"

  • The line only appears in Debug mode. For those of you not seeing a line you have to press "pause" first, then "play". Unfortunately Mr. BurgZerg didn't include that in the video.

  • @kxmode

    Thanks !!! I was looking how to do this!!!

  • Stupid phone! :/

  • My monodevelopment isnt is workinng D:

  • is line 26 of your CSharp (the Debug.Drawline)

    is it important? I can't get it right. it keeps saying that line is wrong

  • Everytime i open a script in MonoDevelop, i get an warning that Tutorial.sln(8) is unsupported or unrecognized. Is there a way to prevent this from showing up ?

    I also have a problem with opening scripts by double-clicking, it opens Mono, but not the script. I tried reïnstalling Unity and Mono, but nothing works.

    Do i need an older version of Unity ?

  • The target isn't Working my line is target = go.transform;

  • or the target Help :\

  • i have a problem... i made the script has you said but i cant define the speed or rotation speed :\ help

  • i did exactly as you did but i didnt get a line beetween my enemy and me player

  • VAGITA!!! WHAT DOES THE SCANNER SAY ABOUT THE CHARACTERS MOVE SPEED?!!!

    ITS OVER 9000!!!!!!!!!!!

    WHAT OVER 9000!??? THAT CANT BE RIGHT!

  • @PhenomenalHeadShot - And then vegetable head gapes in awe as the scouter explodes :)

  • hi is there any way to make it not jump when the player jumps? I need too know because im making a zombie game and i need it too not jump.

  • @thecomputerman12121 Sure is. You make it do what ever you want.

  • @BurgZergArcade Your no help. :D

  • Never mind... Seems that I selected FindGameObjectsWithTag (as in multiple objects array) rather then the FindGameObjectWithTag (singluar object). For some reason I couldn't see it.

  • @Roguedeus Glad too see you found the typo.

  • This is odd. I have the EnemyAI.cs identical to what you show here, but when I drag it onto the "Evil Cubie" I get a Unity message saying [ Can't add script behavior EnemyAI. You need to fix all compile errors in all scripts first! ] and it is being cause by lines 17 & 19. (Found by commenting out till it worked, because there are no actual compile errors?!.) I am running Unity 3.3 and the included MonoDevelop.

  • Assets/scripts/enemyAI.cs(11,1­2): error CS1519: Unexpected symbol `void' in class, struct, or interface member declaration

    plz help ive gone over the script in the vid and it is exactly the same but still a error

  • @ottarsss you have a type somewhere. start by looking at the line where the error occurs, and then move up one line at a time. NOTE: I said move up a line as in the line before the one where the error is reported.

  • Ok i have 1 problem, i have the latest Unity , witch is way past this and nothing is the same

  • @MurlockMage It should still all work the same.

  • Can you please help me, i have monodevelop for windows, i realy like it, but everytime i double click a script in my script folder, it reopens monodevelop, is there a way to make it only use one window, and that if you press your script it opens the same window like your monodevelop does

  • @runetimon I am afraid I have no idea what is wrong. Mine does not behave like that.

  • @BurgZergArcade I found it out myself, i'm only posting it here so other people might profit. i had to use the one that came with unity, what i didn't knew. so i downloaded monodevelop and unity and than edited the preferences to that monodevelop, but i should have used the one that is in the unity folder. now everything works fine, having some trouble with the scripts at tutorial 19, but i think i'll figure that out

  • @runetimon lad to hear you are getting the hang of things. Starting out can be hard. Unity does ship with a special version MonoDevelop (at least on the mac, for windows I use VS) that should be used over the one you can download off the MonoDevelop site.

  • it keeps giving me the error " Assets/Scripts/EnemyAI.cs(31,9­): error CS1525: unexpected symbol `}' expecting `;' "

    help somebody plz?

  • @iwilleaturtacos You have a typo. Check your script.

  • "PLZ HELP ME" PLZ Link the script in description?? i beg!!

  • *HELP* i have copied the script perfectly and yet no line. please help.

  • Is it absolutely necessary to have the player tagged as Player? Can I make the enemy attack multiple tags?

  • Can't Drag :'( says: Assets/Scripts/NewBehaviourScr­ipt.cs(9,27): warning CS0414: The private field `EnemyAI.myTransform' is assigned but its value is never used

  • can someone help me please i can't seem to see my LINE from the enemy to my player please HELP

  • i cant drag the script to the evil cubie , it says" Script EnemyAI has not finished compilation yet.Please wait until compilation of the script has finished and try again." HELP!

  • @mixinghoney Unity does this from time to time. Just shut unity down and restart it.

  • PLZ PLZ PLZ can you make an scripting tutorial but not c# yet javascript

  • @MohammadProductions Only c# will work for some of the things we are going to do.

  • @BurgZergArcade ahaaaa but i still really need a detailed tutorial series for C#

  • @BurgZergArcade can you tell me what things i can't do in javascripts? i'm just staring learning unity and don't want to learn something what will be usefull...

  • Debug.DrawLine(target.transfor­m.position, myTransform.transform.position­);

    Error=NullReferenceExeption

    what to do ???

  • got a problem assets/script/EnemyA1.cs(4,25)­: error CS8025:parsing error

  • Is there a website where I can understand what things are and how they work? (Things like "void" "Debug" "//" etc.) Your tutorials are good, and they help me to understand what to do. I just don't understand what the things mean. xD

  • @stctigers search for oracle java tutorials. Java is very close to c sharp (c#) and the words mean the exact same thing.

  • Uhhm why is there a "SuperSecret" script in the script folder? xD

  • @TolSatha If I tell you, it will not be a secret anymore now will it?

  • @BurgZergArcade wow lol

  • @TolSatha lol, I think what he means to say is that he can tell you but than he have to kill you

  • I'm getting this error

    NullReferenceException

    UnityEngine.Transform.get_posi­tion () (at E:/BuildAgent/work/71ca6fec1b4­1cc30/Runtime/Export/Generated­/BaseClass.cs:768)

    EnemyAI.Update () (at Assets/Scripts/EnemyAI.cs:25)

  • @HumanLies You can get the scripts for the first 10 tutorials for free off of the website in the Educational section.

    burgzergarcade[dot]com/educati­onal/educational/free-tutorial­s/hack-and-slash-intro

  • @BurgZergArcade I can't find them, just tell me the problem, I have the script copied down exactly as you have it.

  • @HumanLies I gave a link to the files in the last reply. The error you are getting is because you are trying to access something that does not exist yet.

  • @BurgZergArcade I've got the same error can you please help me??

  • Comment removed

  • So when finish the DrawLine part, the line connects from the cube to the player, however the point of the line at the player keeps moving down and under the player. When incorporating the actual move forward commands, the cube moves towards me, but follows the down moving point so it goes under the player. Any Solutions?

  • @agent576 I have made the scripts from tutorials 1-10 free for all of the support. You can get them here:

    burgzergarcade[dot]com/educati­onal/educational/free-tutorial­s/hack-and-slash-intro

  • @VictorDGAMER We cover only showing the enemy health when targeting a mob in a later tutorial.

    The difference is that they are two different languages.

  • @VictorDGAMER Just right click the script and you should be able to rename it.

  • i have an error

    (unexpected symbol "target")

  • @zFuZzYFisHx this means that you are using a variable name that has not been assigned yet.

  • That is the pro skin. You can also change the colors under the preferences.

  • How did you change the program background colour?

  • what is the cube. i dont have waypoints or AI script and i have pro

  • @dake222 Was this response to a different video?

  • @dake222 You don't know what a cube is, and you spent 1500 dollars on a pro game engine.

    Kay there buddy.

  • @HumanLies i got the demo

  • hey, im having trouble with monoDevelop, firstly when i go to assets i only have sync visual studio project and secodnly how do you get the predicted text for untiy commands? for example when you go to write .FindGameObjectWithTag thanks! loving the tutorials so far great help!

  • @mattcscz In Unity 2.61, it uses Visual Studios to create the project files. You can use the files it creates with MonoDevelopment, or Visual Studios on Windows if you like. Once you have Unity create the project files for your, just open the solution file and the intella-sence should work out of the box.

  • Hey, can anyone convert this to Javascript? I tried, but it doesn't seem to be working.

  • weres part 4 ?? :O im dieing to make the basic combat

  • @Dudehell1 Still encoding. It appears that it will be ready in about 1.5 hours. Then the rest is up to YouTube. Part 4 is broken up in to 3 parts as it ran over 20 mins and You tube only lets me upload 10 minute videos.

  • @BurgZergArcade ok :D cant wait

  • @Dudehell1 lol. It looks like you have no choice but to wait.

  • Glad you are enjoying it. Next week should be fun. We will start on the basic combat.

  • Was looking forward for this third part.

    Great job, thanks a lot for these once again! =)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more