OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Taggart on 06 Apr 2005, 09:20:13

Title: Friendly Kills Script
Post by: Taggart on 06 Apr 2005, 09:20:13
I am creating an MP mission with a AI friendly support team working along side the real time players. I wish to embarrass those members of the clan who constantly have friendly kills. Is there such a script that will bring up a hint message that a certain player has just killed a member of the support team each time they do it  ??? Thanks in advance  :)
Title: Re:Friendly Kills Script
Post by: nominesine on 06 Apr 2005, 13:39:46
I believe both the "killed" and the "hit" eventhandlers returns information about who hit/killed another unit. But the "killed" eventhandler requires more work in MP (it's local to the unit killed). Check out eventHandlers in the comref.
Title: Re:Friendly Kills Script
Post by: Taggart on 06 Apr 2005, 20:30:20
What I'm actually thinking of doing is adapting a spawnkill script, which questions both the side of the victim and the side of the killer, and adapting that, but thanks anyway for the suggestion  :)