SetFrightened function

Learn technical details about the SetFrightened function.