×
Меню
Индекс

TES CS THE CHOICE FUNCTION

The choice function is a very powerful and versatile dialog tool. It allows you to:
 
You can have from 1 to 999 choices, but remember that you have to enter each choice so choose how many you want before you implement them.
The format is Function->choice = <choice #>. Choices should be in reverse numerical order, with the highest number at top counting down to the line that gives the choice. The results box for the info/response line with the choice command is Choice “<choice 1>” 1 “choice 2>” 2, etc.
Tip: You do not have to start with 1 as your first choice, but I find it’s easier to keep track of them that way.
 
A simple choice: the continue choice The continue choice is used to split up dialog that exceeds the 512 character limit into two or more “paragraphs.”
 
To implement this:
 
Adding additional choices: is a matter of adding them to the Choice command and inserting the choices above the choice line as shown in the simple choice example.
 
Tip: A good rule of thumb is to filter by NPC ID so that you do not have to worry about your choices overlapping with those from other mods or from the ones Bethesda has already entered.
 
Note: Two lines can use the same choice # provided they have a different NPC ID or other filters set. Otherwise, the line that’s on top will be displayed while the one below will not. If you’re having issues with choices not being shown, make sure that you do not have two lines with the same filters set.