I’m going to try to make as sense as I can but if anyone is confused I apologize and I’m completely lost myself.
In my player attack script I’m trying to see if the player is on a certain combat quest and if so certain things should happen, most importantly when the player beats the combat npc for that quest it will only delete that game object and not other game objects that has the tag enemy.
What I’m completely lost at is if I have a GameObject scout = GameObject.FindGameObjectWithTag (“enemyscout”); in my script do I need to include enemyscout in the tag list? Not necessary on the player just on the list. Where I’m completely lost at is I have a if input statement for alpha 1 that if the keyisup it should print This is crazy. Now where I’m lost at is, it works just fine if enemyscout is in the tag list but when I remove it from the list it doesn’t work. While I’m in no way an expert at Unity coding, I do believe I have learned a lot and I just cannot figure out why the print on input wont work if the enemyscout isn’t listed as part of the tags, but will when I put it in.
Thanks for any help, and again I apologize for the confusion.