shipKilledOther eventHandler wiki entry
Posted: Mon Apr 02, 2012 4:48 am
Hi,
Just a heads up the following some testing and a quick peek at the source I've updated this handlers entry on the wiki (missing argument for the damageType in the documentation and added it to the worldScripts event handler page. It fires on player kills in a worldScript context).
On both the shipScript and worldScript pages...
@Maik - I have updated the Alioth copy and not yours - not quite sure what the score is at the moment with automatic synchronisation and you mentioned that they'd got out of sync.
Just a heads up the following some testing and a quick peek at the source I've updated this handlers entry on the wiki (missing argument for the damageType in the documentation and added it to the worldScripts event handler page. It fires on player kills in a worldScript context).
On both the shipScript and worldScript pages...
Code: Select all
The shipKilledOther handler is called when a ship kills an other ship. whom the identity of the ship that was killed. damageType is the type of damage. (Handler added in test version 1.75)
this.shipKilledOther = function(whom,damageType)
{
// Your code here
}