(11-04-2012, 07:54 PM)Tigerwaw Wrote: (11-04-2012, 07:40 PM)ZodiaC Wrote: did you create a lang file?
Yes, of course
(11-04-2012, 07:44 PM)The chaser Wrote: So, the whole script would look like this:
void DoorLockedPlayer(string &in entity)
{
if(GetSwingDoorLocked("EXAMPLE_DOOR") == true)
{
AddQuest(string& asName, string& asNameAndTextEntry);
}
What am I supposed to write into the .lang file and where should I write the name for the memento that is in the .lang file?
<Entry Name="Quest_MyQuest_Text">TEXT HERE</Entry>
Must be in .lang category Journal
And the script would like this: AddQuest("myquest", "MyQuest");
To complete a Momento(aka. quest) you just script this: CompleteQuest("myquest", "MyQuest");
So basicly the same but instead of 'Add' just type in 'Complete'.
Hope it helps.