Official Soldat Forums

Soldat Talk => Game Improvements / Suggestions => Topic started by: DarkCrusade on May 14, 2013, 07:07:55 am

Title: Differentiate between knife throw/stab in onplayerkill/damage
Post by: DarkCrusade on May 14, 2013, 07:07:55 am
It would make a lot of things much easier to write. There are various projects where this would have helped me heaps!
Title: Re: Differentiate between knife throw/stab in onplayerkill/damage
Post by: TheOne on May 14, 2013, 11:29:23 am
I think the knife-stabbing needs a completely new concept.
Title: Re: Differentiate between knife throw/stab in onplayerkill/damage
Post by: Shoozza on May 15, 2013, 12:23:15 pm
I agree that you should be able to do this.
Not sure how much work it is though.

Maybe Falcon has an idea.
Title: Re: Differentiate between knife throw/stab in onplayerkill/damage
Post by: DarkCrusade on May 17, 2013, 07:51:39 am
Mighty found a nice work-around by using the dealt damage as a source of information for a knife-only server, but it cannot be the only possibility and it is a bit trickier, and especially for people who are new to server scripting.