LoD_PRC8/_module/nss/hal_scpttep.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

36 lines
898 B
Plaintext

void main()
{
object oPc = GetLastUsedBy();
object oWay;
location lWay;
if(GetTag(GetArea(OBJECT_SELF)) == "haq_smca1")
{
oWay = GetWaypointByTag("hal_wptwt1");
lWay = GetLocation(oWay);
AssignCommand(oPc, ActionJumpToLocation(lWay));
}
else if(GetTag(GetArea(OBJECT_SELF)) == "haq_smca2")
{
oWay = GetWaypointByTag("hal_wptwt2");
lWay = GetLocation(oWay);
AssignCommand(oPc, ActionJumpToLocation(lWay));
}
else if(GetTag(GetArea(OBJECT_SELF)) == "haq_smca3")
{
oWay = GetWaypointByTag("hal_wptwt3");
lWay = GetLocation(oWay);
AssignCommand(oPc, ActionJumpToLocation(lWay));
}
else if(GetTag(GetArea(OBJECT_SELF)) == "haq_smca4")
{
oWay = GetWaypointByTag("hal_wptwt4");
lWay = GetLocation(oWay);
AssignCommand(oPc, ActionJumpToLocation(lWay));
}
}