Home   Help Search Login Register  

Author Topic: SPON_deathMessages v0.2.1 (ACCEPTED)  (Read 3286 times)

0 Members and 1 Guest are viewing this topic.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
SPON_deathMessages v0.2.1 (ACCEPTED)
« on: 11 Dec 2008, 07:19:23 »
SPON_deathMessages v0.2.1
- Released: 2008-12-11
- SQF script in a single file with no external dependencies

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.

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

Limitations (well, same as BIS deathMessages)
* 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).

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].

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

Get SPON_deathMessages
« Last Edit: 12 Dec 2008, 11:16:34 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: SPON_deathMessages v0.2.1 (READY)
« Reply #1 on: 12 Dec 2008, 10:40:40 »
great script  :good: