Requested here:
http://forum.blockland.us/index.php?topic=294562.0Includes one output event for players which allows you to enable (or disable) friendly fire between players.
Outputs:
Player:
setFriendlyFire <Default/ForceOff/ForceOn>
Has different functionality depending on whether or not it's a Slayer minigame.
Non-Slayer minigame:
If either the attacker or the victim have their state set to ForceOff, damage will not occur.
If both the attacker and the victim have their state set to ForceOn, damage will occur.
If one player is set to Default and the other is set to either ForceOn or Default, damage will be dealt according to the minigame's "Player" damage setting.
Slayer minigame:
If either the attacker or the victim have their state set to ForceOff, friendly fire will not occur.
If both the attacker and the victim have their state set to ForceOn, friendly fire will occur.
If one player is set to Default and the other is set to either ForceOn or Default, damage will be dealt according to the minigame's "Friendly Fire" setting.
This only applies to players on the same team (it might work with alliances as well but idk), and does not bypass the "Player" damage setting.
DownloadLeopard HostingGlass (auto-updates)
Updates
March 26th, 2016 - Fixed an issue where never calling setFriendlyFire on a player would default them to ForceOff. Added regular minigame functionality.
NOTE: This update will break your events. Anything you had saved as ForceOff will be changed to Default, and anything set to ForceOn will be changed to ForceOff.