NWNDS/nwnds_module/ds_cw_onenter.nss

7 lines
168 B
Plaintext
Raw Normal View History

void main()
{
object oPC = GetEnteringObject();
if (GetIsPC(oPC))
SetLocalInt(OBJECT_SELF, "PCIsInArea", GetLocalInt(OBJECT_SELF, "PCIsInArea") + 1);
}