Page 1 of 1

shipKilledOther eventHandler wiki entry

Posted: Mon Apr 02, 2012 4:48 am
by Capt. Murphy
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...

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
}
@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.

Re: shipKilledOther eventHandler wiki entry

Posted: Mon Apr 02, 2012 6:15 am
by maik
Thanks for thinking about it, but no need to manually update my copy, once I get around to setting up the copy process these changes would be overwritten. I hope to find time still before Easter.