Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help AddQuest bug
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
AddQuest bug

i need help with addig a quest. when the player picks up lantern_1, he gets a quest.

this is the code in the .map
SetEntityPlayerInteractCallback("lantern_1", "SetMessage", true);

void SetMessage(string &in timer_name)
{
   SetMessage("map1_messages", "LanternPickup1", 0);
   AddPlayerLampOil(25);
   AddQuest("oil_quest", "OilQuest");
}

and this the entry in the .lang
<CATEGORY Name="Journal">
<Entry Name="OilQuest">Quest_ TEXT.TEXT.TEXT _Text</Entry>
</CATEGORY>

it only shows a bulletpoint in the journal, and the book in the lower right appears.

where is my mistake?

thanks for the help

<<EDIT>>

i just found the mistake by myself. pretty stupid one. it has to be

<CATEGORY Name="Journal">
<Entry Name="Quest_ OilQuest_Text">TEXT.TEXT.TEXT</Entry>
</CATEGORY>

When you are looking for someone, to do the scripting for your Custom Story, ask me!
(This post was last modified: 02-12-2013, 06:35 PM by tonitoni1998.)
02-12-2013, 06:17 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: AddQuest bug

The entry name should be "Quest_OilQuest_Text".

<Entry Name="Quest_OilQuest_Text">TEXT.TEXT.TEXT</Entry>

In Ruins [WIP]
(This post was last modified: 02-12-2013, 06:37 PM by NaxEla.)
02-12-2013, 06:35 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#3
RE: AddQuest bug

yes i just saw that too Tongue but thanks Big Grin

When you are looking for someone, to do the scripting for your Custom Story, ask me!
02-12-2013, 06:36 PM
Find




Users browsing this thread: 1 Guest(s)