Author: Spooner
Author Website: http://www.ofpec.com

Requirements: No addons required

Version: 0.2.1

Short description: Shows messages when someone dies.
Date: 2008-12-12 07:39
Submitted by: Spooner


Comments: (0)
Rating:



 



SPON deathMessages
by
Spooner


Description:
Shows messages when someone dies. This is only useful if death messages are
turned off on the server, but it does give greater control over who gets
the messages and when they receive them.

If BIS default deathMessages are enabled on the server, then this script does nothing.


Usage:
Example:
(Run in init.sqf or init.sqs)[false, true, false, true, false, true, [resistance], ["commanderNoddy", "commanderBigEars"], 60] execVM "SPON_deathMesssages.sqf";

Parameters:
    0: _showEnemyKills - Show all kills where it is obvious who killed who [Boolean].
    1: _showTeamkills - Show all teamkills [Boolean].
    2: _showTeamkillsToEnemy - Show teamkills to people on other sides than the corpse [Boolean]
    3: _showUnexplainedDeaths - Show all unexplained deaths (respawn, fall, etc) [Boolean].
    4: _showUnexplainedDeathsToEnemy - show unexplained deaths to people on other sides than the corpse [Boolean].
    5: _leadersNotified - Group leaders are notified [Boolean].
    6: _sidesNotified - Notify anyone in one of these sides. If array is empty,
    [], notify no-one based on side [Array of Sides].
    7: _individualsNotified - Individuals to be notified, regardless of their
    side. Note that this is the STRING var-name, not the object itself.
    The names are case-dependent! [Array of Strings].
    8: _delay - Delay before informing of the death (seconds). Delay is local,
    so can be different for different players [Number: >= 0].
Limitations:
* Being run over, intentionally or otherwise, is an "unexplained death".
* Death due to spawned artillery rounds (or similar) will show as an
"unexplained death".
* Never shows AI deaths (although it does show players killed by AI).



Changelog:
Changelog
v0.2.1
Fixed: Messages are still seen on a BIS deathMessages enabled server [Reported by Dr Eyeball].

v0.2.0
- first release


Forum topic:
- OFPEC.com




Download from FTP #1:
SPON deathMessages
Download from FTP #2:
SPON deathMessages
Download from FTP #3:
Size : 1 MB   Downloaded : 344 times     Report broken download link



Tags: No tags