mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-29 23:15:55 -04:00
26 lines
473 B
Plaintext
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;
|
|
|
|
|
|
} |