SetObjectFlagOff (object, string flag name)
Turns the object flag off - an object flag is simply a boolean attribute, so:
SetObjectFlagOff(myobject, "myflag")
is equivalent to
myobject.myflag = false
See also SetObjectFlagOn