Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can someone help me on how to enable team kill? Also please read desc if you're trying to help.

Asked by 3 years ago

I'm making a small game to host sword fighting events in. I have ran tests and everything's been going how I wanted it to go but then I saw that people in the same team can't kill eachother. I need help on how to enable team kill so people in the same team can kill eachother. I want to know if that's possible to do via scripts.

2 answers

Log in to vote
0
Answered by 3 years ago

The default behavior actually has team kill enabled. There's a server script inside the sword model that disables team kill. Look for it and delete that portion. If you send me the link to the sword asset I can help you look.

0
Ok thanks! I'll try and search for the script. Nitrolux200 62 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

Thanks LeedleLeeRocket! I searched through the script in the "ClassicSword", deleted the parts that made teamkill disabled [people can't kill eachother in same team] and then tested and it worked! Thanks!

0
No problem, accept my answer if it helped so I can get them sweet sweet rep points LeedleLeeRocket 1257 — 3y

Answer this question