HoS_PRC8/_mod/_module/nss/pelios_teleport1.nss

14 lines
358 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
void main()
{
object oPC=GetEnteringObject();
object oDest=GetWaypointByTag("CRYPT_PELIOS_FINAL");
if (GetIsPC(oPC)==TRUE)
{ // is a PC
if (GetItemPossessedBy(oPC,"GemofPelios")!=OBJECT_INVALID)
{ // has the item
AssignCommand(oPC,ClearAllActions());
AssignCommand(oPC,JumpToObject(oDest));
} // has the item
} // is a PC
}