Difference between revisions of "ARK/NpcDialog"

From EncyclopAtys

< ARK
Jump to: navigation, search
(Created page with "<noinclude>{{Trad |DE= |EN=ARK/NpcDialog |ES= |FR=ARK/NpcDialog |RU= }} ===NpcDialog===</noinclude> {| |32px |Function name : ''' ''weSNpcDialog_v2'...")
 
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:
 
*'''4)''' This field contains 8 choices available to players.  
 
*'''4)''' This field contains 8 choices available to players.  
 
*'''5)''' Each option can lead to a specific action.  
 
*'''5)''' Each option can lead to a specific action.  
:*'''5.1) The right column''' gives the displaying question. Using the [[ARCC traductions EN|translation tool]] can adapt a text for each languages of Ryzom.
+
:*'''5.1) The right column''' gives the displaying question. Using the [[ARK/Traductions|translation tool]] can adapt a text for each languages of Ryzom.
 
If the all field is empty, there are no question in the bubble. (but how to chain to a second bubble?)
 
If the all field is empty, there are no question in the bubble. (but how to chain to a second bubble?)
 
</div>
 
</div>
Line 35: Line 35:
 
:*5.2.2) resume or finish de script
 
:*5.2.2) resume or finish de script
 
:*5.2.3) open or finish the URL
 
:*5.2.3) open or finish the URL
:*5.2.4) jump to a stage (only after the current step as the [[Jump ARCC FR|Jump]] function)
+
:*5.2.4) jump to a stage (only after the current step as the [[ARK/Jump|Jump]] function)
 
:*5.2.5) run script
 
:*5.2.5) run script
:*5.2.6) include script (same as [[Include ARCC FR|Include]] function)
+
:*5.2.6) include script (same as [[ARK/Include|Include]] function)
 
*'''6)''' luaCheck <!-- misunderstood function -->
 
*'''6)''' luaCheck <!-- misunderstood function -->
 
</div>
 
</div>

Latest revision as of 13:40, 22 January 2019

en:ARK/NpcDialog
fr:ARK/NpcDialog
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2019-01-22)

NpcDialog

User comment.png Function name : weSNpcDialog_v2

This function creates a bubble of an NPC dialogue with options to choose.

WeSNpcDialog IG

This bubble are composed of two parts.

  • The upper part contains an introductory text, which can be a lengthy monologue.
  • The lower part contains a set of choices that enchaîneront other actions.
WeSNpcDialog window
  • 1) Note that this feature enables a parameter weSNpcDialog_v2_1rpqpga2:SELECTED which returns the number of the user's choice.
  • 2) {npcRowId}
  • 3) This field contains the top part of the bubble. Message can be relatively long.
  • 4) This field contains 8 choices available to players.
  • 5) Each option can lead to a specific action.
  • 5.1) The right column gives the displaying question. Using the translation tool can adapt a text for each languages of Ryzom.

If the all field is empty, there are no question in the bubble. (but how to chain to a second bubble?)

WeSNpcDialog window
  • 5.2) The left column displays the actions arising from the choice of the players.
Actions are divided into:
  • 5.2.1) none
  • 5.2.2) resume or finish de script
  • 5.2.3) open or finish the URL
  • 5.2.4) jump to a stage (only after the current step as the Jump function)
  • 5.2.5) run script
  • 5.2.6) include script (same as Include function)
  • 6) luaCheck

ARK, guide

Last version 2019-01-22•