07-27-2011, 06:31 PM
It says unexpected end of file?
void OnEnter()
{
AddEntityCollideCallback("Player", "Intro_Quest_Area", "GetIntroQuest", true, 1);
AddEntityCollideCallback("Player", "Intro_Complete_Area", "FinishIntroQuest", true, 1);
}
void GetIntroQuest(string &in asParent, string &in asChild, int alState)
{
AddQuest("introquest", "IntroQuest");
}
void FinishIntroQuest(string &in asParent, string &in asChild, int alState)
{
CompleteQuest("introquest", "IntroQuest");
Void OnStart()
{
AddUseItemCallback("", "roomkey_1", "door_to_outside", "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_to_outside" , false , true);
PlaySoundAtEntity("" , "unlock_door" , "door_to_outside" , 0, false);
RemoveItem("roomkey_1");
}
void OnEnter()
{
AddEntityCollideCallback("Player", "Intro_Quest_Area", "GetIntroQuest", true, 1);
AddEntityCollideCallback("Player", "Intro_Complete_Area", "FinishIntroQuest", true, 1);
}
void GetIntroQuest(string &in asParent, string &in asChild, int alState)
{
AddQuest("introquest", "IntroQuest");
}
void FinishIntroQuest(string &in asParent, string &in asChild, int alState)
{
CompleteQuest("introquest", "IntroQuest");
Void OnStart()
{
AddUseItemCallback("", "roomkey_1", "door_to_outside", "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_to_outside" , false , true);
PlaySoundAtEntity("" , "unlock_door" , "door_to_outside" , 0, false);
RemoveItem("roomkey_1");
}