temp.txt created online with Bitbucket

This commit is contained in:
SWG Source
2018-03-23 16:07:37 -07:00
committed by CekisSWG
parent e8c5b66956
commit f52aebcfb1
82555 changed files with 1 additions and 4633262 deletions
@@ -1,21 +0,0 @@
package script.creature_spawner;
import script.dictionary;
import script.obj_id;
public class death_msg extends script.base_script
{
public death_msg()
{
}
public int OnDestroy(obj_id self) throws InterruptedException
{
LOG("Newbie_Spawn", "Message in onDestroy: Creature died of type - " + getTemplateName(self));
dictionary webster = new dictionary();
webster.put("deadGuy", self);
obj_id mom = getObjIdObjVar(self, "creater");
messageTo(mom, "creatureDied", webster, rand(180, 360), false);
LOG("Newbie_Spawn", "Message in onDestroy: Sending message to mom - " + mom + " from self - " + self);
return SCRIPT_CONTINUE;
}
}