User Tools

Site Tools


gamedev:deigde:editors:conversation:actions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gamedev:deigde:editors:conversation:actions [2017/07/28 19:38] dragonlordgamedev:deigde:editors:conversation:actions [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:deigde:overview|Drag[en]gine Integrated Game Development Environment]] >> [[gamedev:deigde:editors:conversation|Conversation Editor]] >> **Conversation Actions**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:deigde|Drag[en]gine Integrated Game Development Environment]] >> [[gamedev:deigde:editors:conversation|Conversation Editor]] >> **Conversation Actions**
 </WRAP> </WRAP>
  
-Conversation actions provide the basic steps in a conversation script. Actions have a //**Waiting Condition**//. The waiting condition composes of a //Delay// in seconds and an //**Conversation Actor**// indication. If the conversation actor is present the action waits for the conversation actor to be ready for acting. Conversation actors are considered not ready for acting if they are speaking or if they are carrying out a game action preventing them to act. What conditions define if an actor can act is game specific and can be adjusted dynamically by game scripts. It is also possible to wait for all actors in the conversation to become ready for acting. This is the default. Once all request actors are ready for acting the //**Delay**// starts counting down. Once the delay finishes the action is carried out and the script advances to the next action. If no more actions are present the conversation playback stops. If multiple actions in succession have no actor to wait for and 0 seconds delay they are immediately carried out. This makes it possible to create scripts carrying out a set of actions and then immediately stop for example spawning and configure a couple of actors for an upcoming game event.+//**Conversation Actions**// provide the basic steps in a conversation script. Actions have a //**Waiting Condition**//. The waiting condition composes of a //Delay// in seconds and an //**Conversation Actor**// indication. If the conversation actor is present the action waits for the conversation actor to be ready for acting. Conversation actors are considered not ready for acting if they are speaking or if they are carrying out a game action preventing them to act. What conditions define if an actor can act is game specific and can be adjusted dynamically by game scripts. It is also possible to wait for all actors in the conversation to become ready for acting. This is the default. Once all request actors are ready for acting the //**Delay**// starts counting down. Once the delay finishes the action is carried out and the script advances to the next action. If no more actions are present the conversation playback stops. If multiple actions in succession have no actor to wait for and 0 seconds delay they are immediately carried out. This makes it possible to create scripts carrying out a set of actions and then immediately stop for example spawning and configure a couple of actors for an upcoming game event.
  
 The following list describes the available actions The following list describes the available actions
Line 73: Line 73:
  
 ====== If-Else Action ====== ====== If-Else Action ======
-Plays back the actions of the first //**If-Case**// whose condition evaluates to //**true**//. If no such if-case is applicable the //**Else-Case**// actions are played back. See //**Conditions**// below for possible conditions that can be used. If no condition is set on an if-case this equals to the condition evaluating to //**false**//. Multiple if-cases can be defined. They are evaluated in the order they are specified. If-else actions do not finish immediately. They finish once the chosen action list has finished playing back.+Plays back the actions of the first //**If-Case**// whose condition evaluates to //**true**//. If no such if-case is applicable the //**Else-Case**// actions are played back. See [[gamedev:deigde:editors:conversation:conditions|Conversation Conditions]] for possible conditions that can be used. If no condition is set on an if-case this equals to the condition evaluating to //**false**//. Multiple if-cases can be defined. They are evaluated in the order they are specified. If-else actions do not finish immediately. They finish once the chosen action list has finished playing back.
  
 ====== Player Choice Action ====== ====== Player Choice Action ======
Line 103: Line 103:
  
 ====== Wait Action ====== ====== Wait Action ======
-Plays back a list of //**Idle Actions**// while waiting for a condition to evaluate to //**true**//. See //**Conditions**// below for possible conditions that can be used. Once the condition evaluates to //true// the idle actions playback stops with the same caveats as in //**Player Choice Action**//. The //**Interval**// can be used to indicate the time elapsed between re-evaluating the condition. This can be useful if the condition uses expensive game or actor commands or if special effects are desired like conversation scripts not reacting immediately to a change. The wait action has the same finish behaviour as //**Player Choice Action**//.+Plays back a list of //**Idle Actions**// while waiting for a condition to evaluate to //**true**//. See [[gamedev:deigde:editors:conversation:conditions|Conversation Conditions]] for possible conditions that can be used. Once the condition evaluates to //true// the idle actions playback stops with the same caveats as in //**Player Choice Action**//. The //**Interval**// can be used to indicate the time elapsed between re-evaluating the condition. This can be useful if the condition uses expensive game or actor commands or if special effects are desired like conversation scripts not reacting immediately to a change. The wait action has the same finish behaviour as //**Player Choice Action**//.
  
 ====== Comment Action ====== ====== Comment Action ======
 Places a visual comment in the actions list for conversation script authors to help them organize their conversation scripts. Comment actions are ignored in actual conversation (actually they are not even loaded in the first place). Places a visual comment in the actions list for conversation script authors to help them organize their conversation scripts. Comment actions are ignored in actual conversation (actually they are not even loaded in the first place).
- 
- 
- 
-<WRAP youarehere> 
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:deigde:overview|Drag[en]gine Integrated Game Development Environment]] >> [[gamedev:deigde:editors:conversation|Conversation Editor]] >> **Conversation Actions** 
-</WRAP> 
  
gamedev/deigde/editors/conversation/actions.1501270739.txt.gz · Last modified: 2017/07/28 19:38 by dragonlord