Friend fire in Team Deathmatch?

Post Reply
Birra
Posts: 2
Joined: Tue Aug 18, 2020 10:00 am

Friend fire in Team Deathmatch?

Post by Birra » Tue Aug 18, 2020 10:19 am

Hi guys, I was trying to figure out in which part of the code you can enable friendly fire. Any suggestions? Thanks. Birra

User avatar
themars2011
Site Admin
Posts: 65
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: Friend fire in Team Deathmatch?

Post by themars2011 » Sat Aug 29, 2020 11:45 am

Well, first off you would have to make them enemies in the "AreWeEnemies" functions in the kit_gmb_teamDeathmatch. that would allow you to kill them, but they would also appear as enemies. I will add friendly fire in an upcoming update, because it is more work than one might think!
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Post Reply