void main() { object oPC = GetExitingObject(); SetLocalInt(oPC,"rift_g",0); }