Files
dsrc/sku.0/sys.server/compiled/game/script/working/cincotest.script
T
2013-09-10 23:17:15 -07:00

26 lines
473 B
Plaintext

trigger OnHearSpeech(obj_id objSpeaker, string strText)
{
if(objSpeaker!=self)
{
return SCRIPT_CONTINUE;
}
if(strText=="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;
}