package script.test; 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 shuttle_test extends script.base_script { public shuttle_test() { } public int startLandingSequence(obj_id self, dictionary params) throws InterruptedException { obj_id owner = params.getObjId("owner"); queueCommand(self, (-1114832209), self, "", COMMAND_PRIORITY_FRONT); setPosture(self, POSTURE_PRONE); dictionary d = new dictionary(); d.put("owner", owner); messageTo(self, "takeOff", d, 22.0f, false); return SCRIPT_CONTINUE; } public int takeOff(obj_id self, dictionary params) throws InterruptedException { obj_id owner = params.getObjId("owner"); location loc = getLocation(self); dictionary d = new dictionary(); d.put("owner", owner); messageTo(self, "startTakeOffSequence", d, 2.0f, false); return SCRIPT_CONTINUE; } public int startTakeOffSequence(obj_id self, dictionary params) throws InterruptedException { queueCommand(self, (-1465754503), self, "", COMMAND_PRIORITY_FRONT); setPosture(self, POSTURE_UPRIGHT); messageTo(self, "cleanUp", null, 20.0f, false); return SCRIPT_CONTINUE; } public int cleanUp(obj_id self, dictionary params) throws InterruptedException { destroyObject(self); return SCRIPT_CONTINUE; } }