Okay, holy crap this problem is driving me insane, as I can see no problems with my script. I've placed a chair in my map that I've called "fall_object_1." (Yes, I've double checked) This is my script:
void OnStart()
{
SetPropStaticPhysics("fall_object_1", true);
SetEntityPlayerInteractCallback("fall_object_1", "FallObject", true);
}
void FallObject(string &in asEntity)
{
SetMessage("Doors", "inside", 0);
SetPropStaticPhysics("fall_object_1", false);
}
The message shows on the screen when I interact with the chair, but though the chair's static physics turn on when the map is started, it doesn't turn off when I interact with the chair.