Create DARK SOULS in Unity ► EP. 79 Friendly Fire
In this episode we create a team identification system. We will give each character a team I.D, and when they cast a spell, throw a bomb, or swing a sword, the damage collider on any of these items will grab the team I.D from the attacking character. If the team ID is the same as the character it strikes, no damage will be dealt. We also disable enemies from targeting any characters with the same team I.D as themselves.
And lastly, we add UI images to the Spell, and Consumable Quick slots on the players UI.
► JOIN OUR DISCORD
https://discord.gg/jC6EXKa9Fj
► SUPPORT ME ON PATREON!
http://www.patreon.com/SebastianGraves
► ASSET STORE PAGE (Animations & Models)
https://assetstore.unity.com/publishers/58059
► FOLLOW ME IN INSTAGRAM!
https://www.instagram.com/tragicallycanadian/
►WEBSITE
https://sebastiangraves.com/
►MERCH
https://sebastiangraves.com/merch/
►ONE TIME DONATION
https://sebastiangraves.com/donate/
► FOR FREELANCE INQUIRIES E-MAIL ME AT
sebby.graves@gmail.com
► EPISODE 80
https://youtu.be/1mh3nB9RzaI