01-26-2014, 08:14 PM
Seems like scripting doesn't like me even from the early stages.
Onto my problem. I'm following Russ Money's tutorial on creating a memento/quest (https://www.youtube.com/watch?v=WfgFEG4TSCE), yet even though I follow it to the best of my abilities, my memento still won't show.
I get the notification that I've received a memento, however, when I open my journal to look, I don't see text. However there is a hyphen right before where the text should be.
I'm sure this is going to be the easiest fix in the world, but because scripting has a lot of variables, I get confused very easily, and very fast. My need for everything to be organized doesn't help either, so I refuse to move on until this problem is solved.
My script can be reviewed in the following spoilers.
extra_english.lang script is:
<CATEGORY Name ="Journal">
<Entry Name="Quest_searchHomeQuest_Text">I need to find out why my memory is gone. I should search the house.</Entry>
</CATEGORY>
map.hps file script is:
void OnStart()
{
AddEntityCollideCallback("Player", "searchHomeQuest_area", "GetSearchHome", true, 1);
}
void GetSearchHome(string &in asParent, string &in asChild, int alState)
{
AddQuest("searchhome", "searchHomeQuest");
}
And yes, the script box in my map is named searchHomeQuest_area.
I'm sure I probably seem like the biggest noob in the world, not even able to figure out a memento, but like I said, lots of functions, confused easily.
Onto my problem. I'm following Russ Money's tutorial on creating a memento/quest (https://www.youtube.com/watch?v=WfgFEG4TSCE), yet even though I follow it to the best of my abilities, my memento still won't show.
I get the notification that I've received a memento, however, when I open my journal to look, I don't see text. However there is a hyphen right before where the text should be.
I'm sure this is going to be the easiest fix in the world, but because scripting has a lot of variables, I get confused very easily, and very fast. My need for everything to be organized doesn't help either, so I refuse to move on until this problem is solved.
My script can be reviewed in the following spoilers.
Spoiler below!
extra_english.lang script is:
<CATEGORY Name ="Journal">
<Entry Name="Quest_searchHomeQuest_Text">I need to find out why my memory is gone. I should search the house.</Entry>
</CATEGORY>
Spoiler below!
map.hps file script is:
void OnStart()
{
AddEntityCollideCallback("Player", "searchHomeQuest_area", "GetSearchHome", true, 1);
}
void GetSearchHome(string &in asParent, string &in asChild, int alState)
{
AddQuest("searchhome", "searchHomeQuest");
}
And yes, the script box in my map is named searchHomeQuest_area.
I'm sure I probably seem like the biggest noob in the world, not even able to figure out a memento, but like I said, lots of functions, confused easily.