Spot the error! Thanks. I'm sure it's simple enough for the proper scripters out there.
Parser error at else. Why is this? It worked before I put in extra commands to occur after all values are met.
if (value==10){
if ((GetGlobalInt(11) == 1) && (GetGlobalInt(12) == 1) && (GetGlobalInt(13) == 1)){
character[GOD].Say("You've converted three people! Well done! Here is the crystal of heavenity.");
player.AddInventory(inventory[21]);
SetCharacterView(EGO, 18);
Wait(20);
ReleaseCharacterView(EGO);
else character[GOD].Say("Not yet, keep at it!");
}
EDIT: Oh, was I just missing a } after the last command, before else? Oh well. Sorry to bother you.
Parser error at else. Why is this? It worked before I put in extra commands to occur after all values are met.
if (value==10){
if ((GetGlobalInt(11) == 1) && (GetGlobalInt(12) == 1) && (GetGlobalInt(13) == 1)){
character[GOD].Say("You've converted three people! Well done! Here is the crystal of heavenity.");
player.AddInventory(inventory[21]);
SetCharacterView(EGO, 18);
Wait(20);
ReleaseCharacterView(EGO);
else character[GOD].Say("Not yet, keep at it!");
}
EDIT: Oh, was I just missing a } after the last command, before else? Oh well. Sorry to bother you.