Files
dsrc/sku.0/sys.server/compiled/game/script/npe/npe_turret_ship.java
T
2018-06-07 00:32:29 +01:00

18 lines
423 B
Java
Executable File

package script.npe;
import script.library.utils;
import script.obj_id;
public class npe_turret_ship extends script.base_script
{
public npe_turret_ship()
{
}
public int OnDestroy(obj_id self) throws InterruptedException
{
obj_id parent = utils.getObjIdScriptVar(self, "objParent");
messageTo(parent, "shipDied", null, 0, true);
return SCRIPT_CONTINUE;
}
}