Jump to content

Help with dialogue and scripts


Almelexia

Recommended Posts

I have worked in TES construction set for a while and I have never learnt how to make a forcegreeting script.

 

And when i making a quest i want the people to have choice but when i make the choices and later trying them, they just comes back over and over again how do i make a working choics.

 

When i making people to say somethings to quests i want a questlog to appear in the players notebook in the game how do i do that?

Link to comment
Share on other sites

Im not sure what exactly you are asking, are you wanting a journal entry to be placed in your journal after receiving a quest, if so its involved in the dialgue, im not sure exactly how to explain it right here but look at some other npc's dialogue where they give you the quest i think that way its real easy to figure out.
Link to comment
Share on other sites

Heres the problem im not going to write out a whole script but make these corrections to it.

 

declare a short do_once

 

after the declaring but befre the actual code put

if (do_once == 0 )

;then have your code execute

 

 

at the very last thing before you put end(scriptname) on the line above it type set do_once to 1

 

that should fix it from doing it over and over again.

Link to comment
Share on other sites

Thanks geraman man! that helps me very much in my large mod.

 

And if you have the time can you answer me on my other questions?

About choices and journal entries.

 

How do i make a choice without making the people that sked me things ask me over and over again, you see if i answer a question they asked they just ask it again without a ending.

 

And when i speak to people i want in some of the topics i make a journal entrie so how do i make a journal entrie to work, when i trying to make an journal entrie the topic that the questlog should be in just dissapear, in the game.

 

And one more new question: How do i make a topic that the people should have from the beginning. You see that when i make a topic to an unique persion the topic doesent show up in the game topic menu. Please help me out.

Link to comment
Share on other sites

Almalexia, if you want a dialogue with german_man you may find PM or even the chat room better and faster than posting on the forum.

 

I won't close this as others may wish to answer you but don't see the forum as the only method of getting info that you need.

Link to comment
Share on other sites

A 4 PART POST

 

 

PART 1

doOnce or do_once is all basically the same although when using it with dialgou you should do doOnce otherwise it doesn't even matter because its not a command.

 

PART 2

Your problem with choice is when you make the answer you know

function -> choice -> it has to be above the actuall question

heres what it should look like on the info response part

 

----------------------------------------------------------------------

Fine Then no is your answer

(function choice 2)

----------------------------------------------------------------------

im glad you accepted

(function choice 1)

----------------------------------------------------------------------

will you help me on...

(choice "yes" 1 "no" 2

----------------------------------------------------------------------

 

 

 

if you dont put the two (or more answers on top of the question on the info/response part it will ask you over and over agian

 

 

do this by right clicking on the question then clicking new, that will place the next dialogue above it.

 

 

PART 3

first of all in order to make new topics you must set it to filtor for -> blank line (the very top of it is a blank line if you scroll up) there you make it then give it the id of the person you want it to be on.

 

if you have done that and the topic still doesn't display, on the result of the greeting the person does write

addtopic, topicname

that will make sure that that topic will be threre

 

then on the result of that topic place

Journal journalname index#

example:

journal HR_AJOURNALNAME 5

i beleive a journal must have two strange numbers like that then an _ check all the premade journal entries to see what two leter combinations you can do.

 

 

PART 4

i believe i answered that in part 3 but il answerr that specifically right here.

when making a new topic there can't be anyone it filters for

just set the id of a new topic to the npc's id then it will show up when it is filtered for him.

 

if that doesn't do it, on the gretting the npc always does add a...

addtopic, topicname

example:

addtopic, escort

... in the result box (dont put the example in ther with it though ;)

 

whew (wipes sweat from brow) that whould do it, if you have anymore questions i would love to answer them just pm me or even if you didn;t understand any of this.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...