(04-13-2015, 01:31 PM)FlawlessHappiness Wrote: You need to update to v1.3 to use SetPlayerFallDamageDisabled.
void BOOM(string &in asTimer)
{
AddTimer("", 6,"BOOM");
AddPlayerBodyForce(0, 0, 100000, true);
SetPlayerFallDamageDisabled(true);
}
Look at this timer.
Do you see, that you're adding another timer in it?
AddTimer("", 6,"BOOM");
You're saying, "When I call this timer, call it again in 6 seconds". And then it repeats.
"When I call this timer, call it again in 6 seconds"
"When I call this timer, call it again in 6 seconds"
"When I call this timer, call it again in 6 seconds"
And so on. All you have to do it remove the add timer.
void BOOM(string &in asTimer)
{
AddPlayerBodyForce(0, 0, 100000, true);
SetPlayerFallDamageDisabled(true);
}
oh.. thanks didn't know it xD stupid me
i tohught the first timer didn't worked well. but yeah, i hope the update doesn't break my game, like a month ago..
Huh?! it still give me the same message... my script :
void Explosion(string &in asEntity)
{
StartPlayerLookAt("Water", 5, 10, "");
SetEntityActive("Monster", true);
SetEntityActive("Lamp", true);
SetPlayerMoveSpeedMul(0.01);
SetPlayerRunSpeedMul(0.01);
SetMessage("Messages", "Hint2", 1);
StartPlayerLookAt("Monster", 5, 10, "");
SetPlayerJumpDisabled(true);
AddTimer("", 1.5,"BOOM");
}
void BOOM(string &in asTimer)
{
AddTimer("", 6,"kaboom");
}
void kaboom(string &in asTimer)
{
AddPlayerBodyForce(0, 0, 100000, true);
SetPlayerFallDamageDisabled(true);
}
It must be good?!
I installed the game update in Games> Amnesia the dark descent.
yes i don;'t have a "redist" folder..
and i have a 1.3 update Folder inside so that' means i have the update, but it keep saying
No matchign signatures to blabla ( CONST BOOL ) instead of (true)...