SC2Mapster.com Wiki

Galaxy / Triggers / Category Conversation

Conversation

Conversation Tools

Convert Integer To Conversation State Index

  • Returns the conversation state index for the given conversation state and integer index.

Remove Conversation

  • Removes a conversation.

Remove All Conversations

  • Removes all conversations.

Remove Conversation Reply

  • Removes a reply from a conversation.

Remove All Conversation Replies

  • Removes all replies from a conversation.

Conversation Reply Index

  • Returns the index of the specified conversation reply.

Conversation Reply State

  • Returns the reply state for the specified conversation reply.

Conversation Reply Text

  • Returns the text of the specified conversation reply.

Mark Conversation Reply As Read/Unread

  • Marks a conversation reply as either read or unread.

Set Conversation Reply Text

  • Sets the text for a conversation reply.

Conversations

Create Conversation

  • Creates a conversation. Conversations can be used to create interactive character dialogue that allows a player to select from a list of replies. Conversations can be created purely through triggers, or created in data, and run via triggers.

Last Created Conversation

  • Returns the last created conversation.

Create Conversation Reply

  • Creates a conversation reply.

Last Created Conversation Reply

  • Returns the last created conversation reply.

Show/Hide Conversation

  • Shows or hides a conversation for a player group.

Conversation Is Visible

  • Returns true if the conversation is visible for the specified player.

Selected Conversation

  • Returns the selected conversation.

Selected Conversation Reply

  • Returns the selected conversation reply.

Data Conversation Tools

Active Data Conversation Camera

  • Returns the state index for the last camera to be applied in the running data conversation

Active Data Conversation Sound

  • Returns the sound associated with the active line in the running data conversation

Data Conversation Can Be Run

  • Returns true if the conversation has any active lines or choices to be run using the current state.

Data Conversation Choice Count

  • Returns the total number of choices defined in a conversation.

Data Conversation Choice Picked

  • Returns the picked state of a conversation choice.

Data Conversation Choice Picked Count

  • Returns the number of times a conversation choice has been picked.

Data Conversation Choice State

  • Returns the reply state of a conversation choice.

Data Conversation Choice Name

  • Returns the name of a conversation choice at the specified index.

Mark Data Conversation Choice As Picked/Unpicked

  • Marks a conversation choice as either picked or unpicked.

Set Data Conversation Choice Picked Count

  • Sets the picked count for a conversation choice.

Mark Data Conversation Choice As Read/Unread

  • Marks a conversation choice as either read or unread.

Data Conversation Line Count

  • Returns the total number of lines defined in a conversation.

Data Conversation Line Picked Count

  • Returns the number of times a conversation line has been picked.

Data Conversation Line Name

  • Returns the name of a conversation line at the specified index.

Set Data Conversation Line Picked Count

  • Sets the picked count for a conversation line.

Load Data Conversation Lines And Choices

  • Loads the picked states of all choices and lines for the given conversation from a bank section.

Load Data Conversation State Value

  • Loads a specific conversation state value from a bank section.

Load Data Conversation State Values

  • Loads all state values of the given conversation state from a bank section.

Preload Data Conversation Lines

  • Preloads sound files for all lines available to be run within the given conversation.

Reset Data Conversation Lines And Choices

  • Resets the picked states of all choices and lines for the given conversation back to the default unread state.

Reset Data Conversation State Values

  • Resets all state values of the given conversation state back to zero.

Save Data Conversation Lines And Choices

  • Saves the picked states of all choices and lines within the given conversation to a bank section.

Save Data Conversation State Value

  • Saves a specific conversation state value to a bank section.

Save Data Conversation State Values

  • Saves all state values within the given conversation state to a bank section.

Data Conversation State Ability Command

  • Returns an ability command associated with the given conversation state. The info name corresponds with the 'Info Name' field defined in the state.

Data Conversation State Attachment Point

  • Returns the attachment point associated with the given conversation state.

Data Conversation State Custom Value

  • Returns a custom value associated with the given conversation state. The info name corresponds with the 'Info Name' field defined in the state.

Data Conversation State

  • Converts a conversation state index to an integer.

Data Conversation State Text Tag Edge

  • Returns the text tag edge associated with the given conversation state.

Data Conversation State Image

  • Returns the image associated with the given conversation state.

Data Conversation State Count

  • Returns the number of individual state values within a state definition.

Data Conversation State Model

  • Returns a model associated with the given conversation state. The info name corresponds with the 'Info Name' field defined in the state.

Data Conversation State Movie

  • Returns the movie associated with the given conversation state.

Data Conversation State Name

  • Returns the display name of the given conversation state.

Data Conversation State Text

  • Returns display text associated with the given conversation state. The text name corresponds with the 'Info Name' field defined in the state.

Data Conversation State Upgrade

  • Returns an upgrade associated with the given conversation state. The info name corresponds with the 'Info Name' field defined in the state.

Data Conversations

Set Data Conversation Camera

  • Sets a camera to be used and a trigger to be run when the specified camera state and character state are reached.

Set Data Conversation Portrait

  • Sets a portrait to be used for a given character during data-driven conversations.

Set Data Conversation Unit

  • Sets a conversation state to a unit.

Run Data Conversation

  • Runs a conversation for the specified player group.

Set Data Conversation State

  • Sets a conversation state to an integer.

Stop Data Conversation

  • Stops the active conversation.

Triggering Conversation State

  • Returns the conversation state in response to Data Conversation State Changed events.

You must login to post a comment. Don't have an account? Register to get one!

Table of contents

  1. 1 Conversation
    1. 1.1 Conversation Tools
      1. 1.1.1 Convert Integer To Conversation State Index
      2. 1.1.2 Remove Conversation
      3. 1.1.3 Remove All Conversations
      4. 1.1.4 Remove Conversation Reply
      5. 1.1.5 Remove All Conversation Replies
      6. 1.1.6 Conversation Reply Index
      7. 1.1.7 Conversation Reply State
      8. 1.1.8 Conversation Reply Text
      9. 1.1.9 Mark Conversation Reply As Read/Unread
      10. 1.1.10 Set Conversation Reply Text
    2. 1.2 Conversations
      1. 1.2.1 Create Conversation
      2. 1.2.2 Last Created Conversation
      3. 1.2.3 Create Conversation Reply
      4. 1.2.4 Last Created Conversation Reply
      5. 1.2.5 Show/Hide Conversation
      6. 1.2.6 Conversation Is Visible
      7. 1.2.7 Selected Conversation
      8. 1.2.8 Selected Conversation Reply
    3. 1.3 Data Conversation Tools
      1. 1.3.1 Active Data Conversation Camera
      2. 1.3.2 Active Data Conversation Sound
      3. 1.3.3 Data Conversation Can Be Run
      4. 1.3.4 Data Conversation Choice Count
      5. 1.3.5 Data Conversation Choice Picked
      6. 1.3.6 Data Conversation Choice Picked Count
      7. 1.3.7 Data Conversation Choice State
      8. 1.3.8 Data Conversation Choice Name
      9. 1.3.9 Mark Data Conversation Choice As Picked/Unpicked
      10. 1.3.10 Set Data Conversation Choice Picked Count
      11. 1.3.11 Mark Data Conversation Choice As Read/Unread
      12. 1.3.12 Data Conversation Line Count
      13. 1.3.13 Data Conversation Line Picked Count
      14. 1.3.14 Data Conversation Line Name
      15. 1.3.15 Set Data Conversation Line Picked Count
      16. 1.3.16 Load Data Conversation Lines And Choices
      17. 1.3.17 Load Data Conversation State Value
      18. 1.3.18 Load Data Conversation State Values
      19. 1.3.19 Preload Data Conversation Lines
      20. 1.3.20 Reset Data Conversation Lines And Choices
      21. 1.3.21 Reset Data Conversation State Values
      22. 1.3.22 Save Data Conversation Lines And Choices
      23. 1.3.23 Save Data Conversation State Value
      24. 1.3.24 Save Data Conversation State Values
      25. 1.3.25 Data Conversation State Ability Command
      26. 1.3.26 Data Conversation State Attachment Point
      27. 1.3.27 Data Conversation State Custom Value
      28. 1.3.28 Data Conversation State
      29. 1.3.29 Data Conversation State Text Tag Edge
      30. 1.3.30 Data Conversation State Image
      31. 1.3.31 Data Conversation State Count
      32. 1.3.32 Data Conversation State Model
      33. 1.3.33 Data Conversation State Movie
      34. 1.3.34 Data Conversation State Name
      35. 1.3.35 Data Conversation State Text
      36. 1.3.36 Data Conversation State Upgrade
    4. 1.4 Data Conversations
      1. 1.4.1 Set Data Conversation Camera
      2. 1.4.2 Set Data Conversation Portrait
      3. 1.4.3 Set Data Conversation Unit
      4. 1.4.4 Run Data Conversation
      5. 1.4.5 Set Data Conversation State
      6. 1.4.6 Stop Data Conversation
      7. 1.4.7 Triggering Conversation State

Facts

Date created
Sep 19, 2010
Last updated
Jan 24, 2011

Authors