PRC8/trunk/smp/0_ondeath.nss

12 lines
287 B
Plaintext
Raw Normal View History

// 0_ondeath
// On Death report. report feedback information via. Speak String.
void main()
{
object oKiller = GetLastKiller();// returns the object that killed OBJECT_SELF.
// Report
SpeakString("[KILLED] [" + GetName(OBJECT_SELF) + "] By: " + GetName(oKiller) + ".");
}