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

22 lines
419 B
Plaintext

#include "hc_inc"
#include "anph_inc"
void main()
{
int iTeam;
object oPC;
oPC = GetEnteringObject ();
iTeam = AnphGetPlayerTeamInt (oPC);
if (iTeam == 1)
{
object oTarget = GetObjectByTag("CleavenTunnelDoorEastInnerWaypt");
AssignCommand (oPC, JumpToObject(oTarget));
}
else
{
SendMessageToPC (oPC, "A magical force prevents you from entering.");
}
}