Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
return (GetLocalInt(GetPCSpeaker(), "NW_JOURNAL_ENTRYxxxxxx") == nnnnnn);
where xxxxxx is the tag of the quest, and nnnnnn is the journal entry number required.
See Toolset Manuals (downloadable from Neverwinter Vault) and Lexicon tutorials for more detail.
But does that script work in general for any quest? Or only for the 1 quest, whose tag I put in the xxxxx slot?
I have 2 quests that work fine and flow through their dialogue just fine with my NPC. I just cant get him to switch over to the 3rd bit of dialogue talking about the 3rd quest. My third quest I set up to accept at the end of the 2nd quest's dialogue. It does accept the quest, but then he keeps repeating the same lines from end of quest 2.
Your saying that script will make him move to the 3rd quest and a 4th quest and so on? I just put it in a script and save it and it will work automatically for any quest? Or just for the single quest, whose tag I put in the xxxx slot?
Then for item acquired, idk how to get the game to accept the item pickup from the 3rd quest. My second quest it works, because I followed Mr.Hanson's tutorials, which was basically good for 1 item, and it works like a charm, but is that all the that script was good for?
Im honestly quite lost on this whole scripting thing for the most part.
So each quest can have its own journal tag, or they can all be steps in one journal if you like.
The NPC needs several conversation lines, for example
- if no journal is set, give quest 1
- if the PC has the item for quest 1, reward and give quest 2
- if quest 1 is given but not resolved, say "how's it going" or whatever
- if the PC has the item for quest 2, reward and give quest 3
- if quest 2 is given but not resolved, say "how's that going"
and so on. The NPC will only say the first line whose condition is true.
It is possible to work with fewer scripts, but that's definitely an advanced topic. For now, have a look at the manuals and tutorials I mentioned, as they explain this better than I can.