void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC) || GetIsDM(oPC)) return; SetLocalInt(oPC, "Res_Align", 2); }