HoS_PRC8/_mod/_module/nss/escape_agernis.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

18 lines
375 B
Plaintext

void fnJump(object oDest)
{
object oMe=OBJECT_SELF;
if (GetArea(oDest)!=GetArea(oMe)||GetDistanceBetween(oMe,oDest)>3.0)
{ // move
AssignCommand(oMe,JumpToObject(oDest));
DelayCommand(0.5,fnJump(oDest));
} // move
} // fnJump()
void main()
{
object oPC=GetPCSpeaker();
object oWP=GetWaypointByTag("AGERNIS_EXIT");
AssignCommand(oPC,fnJump(oWP));
}