Files
Anphillia_PRC8/_module/nss/hc_ou_secretd.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

15 lines
397 B
Plaintext

void main()
{
string strDest = GetLocalString(OBJECT_SELF, "strDestination");
object oPlayer = GetLastUsedBy();
if (oPlayer != OBJECT_INVALID)
{
object oDest = GetObjectByTag(strDest);
AssignCommand(oPlayer, ClearAllActions());
AssignCommand(oPlayer, ActionJumpToObject(oDest, FALSE));
AssignCommand(oPlayer, SetFacing(GetFacing(oDest)));
}
}