(12-21-2013, 10:13 PM)WIWWM Wrote: Okay! I'm big on learning for yourself so, The error they give a point. A Y and an X value. The 8 is the Y meaning that on the 8th line of code (down from the top) there is an error. Look on that line for your error. Then, the X value, 10. 10 Character over your error lies.
Best of luck!
Actually, I do not think this will help here. Regardless, heed this advice. It will help you with errors later on, and if the co-ordinates are not where the error is located, it is somewhere after.
If you still cannot find it, unspoiler here
Spoiler below!
Code:
What I think your issue is the void. I do not think you can use spaces there. Otherwise it seems to be okay. Try this instead:
void PickupKey(string &in asEntity, string &in asItem) { AddQuest("quest1", "TestQuest"); AddUseItemCallback("", "Bedroom Key", "bedroomdoor","UseBedroomKey", true); //Changed so it points to the void }
void UseBedroomKey(string &in asItem, string &in asEntity) //Removed spaces { SetMessage("message", "message1", 3.0f); //Changed to a float. Wont cause errors either way. }
As for the description of your story, could you please post your extra_english.lang file below? One error in that causes everything to error, hence the message above in UseBedroomKey won't work either.
Discord: Romulator#0001
(This post was last modified: 12-22-2013, 09:43 AM by Romulator.)