(04-30-2012, 07:40 PM)z3akx Wrote: Okay now im getting this error
FATAL ERROR: Could not load script file 'custom_stories/blabla/bla/blabla/Maps/Forest.hps'! ExecuteString(1, 1) : ERR : No matching signatures to 'OnLeave()'
main (21,20) : ERR : Expected identifier
main (22,2) : ERR : Unexpected token '}'
main (24,2) : ERR : Unexpected token '}'
the "main" part is this
void OnStart()
{
if(GetGlobalVarInt("UnluckAbandonedHouseDoor") == 1)
}
SetLevelDoorLocked("Level_AbandonedHouse", false);
}
else return;
}
}
I dont get it -.-
it's probably because i dont understand how the scripting are connected to one another :-)
Check your curly brackets. You have 1 opening curly bracket "{" and 4 closing curly brackets "}".