Whether they are floats or integers, they would still pass correctly in most cases, unless it is a decimal value.
And in response, yes. There are one or two things you need to check:
1. Your AddTimer in the middle of the code. Place it somewhere in the code within a void. I don't know what is supposed to happen, so if you need to, make the player collide with a ScriptArea and make some appropriate code for that:
OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_Name", "StartTimer", "true", 1);
}
void StartTimer(string &in asParent, string &in asChild, int alState)
{
AddTimer("", 1.1, "TimerDoorCanClose");
}
Just change the ScriptArea_Name to whatever in your Level Editor, and make it big enough for the player to walk through, similar to this:
And the second thing is right down the bottom, you have two touchdoor voids, which you cannot
I said what to do about that though.
Dont worry DNaLANGE. It's all about assistance. You managed to get him from 4 errors to 1, so it's all about progress