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

31 lines
840 B
Java
Executable File

package script.working;
import script.location;
import script.obj_id;
public class cincotest extends script.base_script
{
public cincotest()
{
}
public int OnHearSpeech(obj_id self, obj_id objSpeaker, String strText) throws InterruptedException
{
if (objSpeaker != self)
{
return SCRIPT_CONTINUE;
}
if (strText.equals("setupTerminal"))
{
obj_id objTarget = getLookAtTarget(self);
if (isIdValid(objTarget))
{
location locTest = new location();
locTest.area = "space_tatooine";
setObjVar(objTarget, "space.destination", locTest);
sendSystemMessageTestingOnly(self, "Set the coordinates to your thang!");
}
}
return SCRIPT_CONTINUE;
}
}