void main() { object oTarget = GetExitingObject(); if (GetIsPC(oTarget)) { SetLocalInt(GetModule(), GetTag(OBJECT_SELF), 0); } }