void main() { object oPC = GetExitingObject(); SetLocalInt(oPC, GetStringRight(GetTag(OBJECT_SELF), 6) + "_InBeam", FALSE); }