mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package script.creature_spawner;
|
||||
|
||||
import script.*;
|
||||
import script.base_class.*;
|
||||
import script.combat_engine.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.Hashtable;
|
||||
import java.util.Vector;
|
||||
import script.base_script;
|
||||
|
||||
public class sarlacc_spawner extends script.base_script
|
||||
{
|
||||
public sarlacc_spawner()
|
||||
{
|
||||
}
|
||||
public int OnInitialize(obj_id self) throws InterruptedException
|
||||
{
|
||||
location sarlaccPit = new location(-6173, 14, -3361, "tatooine", null);
|
||||
obj_id sarlacc = createObject("object/mobile/sarlacc.iff", sarlaccPit);
|
||||
setObjVar(sarlacc, "creater", self);
|
||||
attachScript(sarlacc, "creature_spawner.death_msg");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int creatureDied(obj_id self, dictionary params) throws InterruptedException
|
||||
{
|
||||
location sarlaccPit = new location(-6173, 14, -3361, "tatooine", null);
|
||||
obj_id sarlacc = createObject("object/mobile/sarlacc.iff", sarlaccPit);
|
||||
setObjVar(sarlacc, "creater", self);
|
||||
attachScript(sarlacc, "creature_spawner.death_msg");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user