I can't seem to get my elevator to work. I looked at the elevator.hps from The Dark Descent but the only "worthwhile" thing I could find was SetMoveObjectStateExt("elevator_1", 1, 2, 1.0f, 0.2f, true);. So, this is my script.
void OnStart()
{
SetMoveObjectStateExt("elevator_1", 1, 2, 1.0f, 0.2f, true);
SetMoveObjectStateExt("elevator_lever_1", 1, 2, 1.0f, 0.2f, true);
SetMoveObjectStateExt("elevator_lamp_1", 1, 2, 1.0f, 0.2f, true);
}
It doesn't seem to work; I do not get any errors or anything, just when I am in the game the elevator does not move at all. What did I do wrong and how can I fix this? Please note, I only want the elevator moving. I am currently not interested in particle effects, sounds and all that stuff.
Also note, the
"how-to-create-an-elevator" page on the wiki isn't really that useful. For me atleast.