hmm.. got an error saying
(162, 1) Expected ';'
Which is pretty impossible considering the fact the the only thing on row 162 is '{ syntax error somewhere?
void UseKeyOnDoor_6(string &in asItem, string &in asEntity)
{
SetLocalVarInt("IsDoorunLocked", 1);
SetLevelDoorLocked("labdoor", false);
PlaySoundAtEntity("", "unlock_door", "labdoor", 0, false);
RemoveItem("labkey_1");
}
void UsedKeyOnDoor_10(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("lloydsoffice", false, true);
PlaySoundAtEntity("", "unlock_door", "lloydsoffice", 0, false);
RemoveItem("lloydskey_1");
SetMessage("Message", "lloydsdooropen", 0);
}
void StartCredits(string &in asEntity)
{
If(GetLocalVarInt("IsDoorunLocked") == 1)
{
FadeOut(2.0f);
StartCredits("01_Vicarious.ogg", false, "Ending", "MainCredits", 1);
}
}