(3rd post in a row, forever alone)
I keep having problems with the MovePlayerHeadPos command. I want the head to spawn as it's a bit below the regular level and then regulate itself back, but the head stays in the regular height!
void OnStart()
{
MovePlayerHeadPos(0, -0.5, 0, 1, 0);
FadePlayerRollTo(-45, 100, 100);
AddTimer("", 2, "standUp");
AddTimer("", 3, "unlockMove");
FadeOut(0);
FadeIn(3);
SetPlayerSanity(20);
SetPlayerHealth(40);
SetPlayerActive(false);
AddUseItemCallback("", "key1_1", "door1_1", "multiDoor1", false);
SetLocalVarInt("multiDoor", 0);
SetEntityInteractionDisabled("hanging_lantern_wall_1", true);
}
void standUp(string &in asTimer){
MovePlayerHeadPos(0, 0, 0, 0.5, 0);
FadePlayerRollTo(0, 20, 20);
}
void unlockMove(string &in asTimer){
SetPlayerActive(true);
SetMessage("ScrText", "text1_1", 6);
}
Any help? :/
Note: it worked BEFORE I added the timers...