(03-24-2013, 10:57 PM)Knusper. Wrote: yes, i thought so.
strangely another person told me to do what i did...
but now i changed it, but it still doesnt work
They might be right, I've never tried doing it like that. But in this case it's unnecessary, so you might as well just use the method that definately works
You might need to check all of the names of the script areas and such, I can't see any other problems in the script that should prevent it from working.
void InArea(string &in asParent, string &in asChild, int alState)
{
string areanumber1 = StringSub(asChild, 11, 2);
if (Slender_1active)
{
AddDebugMessage("InArea > if statement executing", false);
IsInArea = true;
LastArea = areanumber1;
AddTimer("Dead", 3, "Dead");
}
}
Use that, just want to make sure your debug message call itself isn't the problem