Triggers/Category Conversation

From SC2Mapster Wiki
Jump to: navigation, search

Contents

Conversation Tools

Convert Integer To Conversation State Index

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

Remove Conversation

  • Action. Removes a conversation.

Remove All Conversations

  • Action. Removes all conversations.

Remove Conversation Reply

  • Action. Removes a reply from a conversation.

Remove All Conversation Replies

  • Action. Removes all replies from a conversation.

Conversation Reply Index

  • Function. Returns the index of the specified conversation reply.

Conversation Reply State

  • Function. Returns the reply state for the specified conversation reply.

Conversation Reply Text

  • Function. Returns the text of the specified conversation reply.

Mark Conversation Reply As Read/Unread

  • Action. Marks a conversation reply as either read or unread.

Set Conversation Reply Text

  • Action. Sets the text for a conversation reply.

Conversations

Create Conversation

  • Action. 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

  • Function. Returns the last created conversation.

Create Conversation Reply

  • Action. Creates a conversation reply.

Last Created Conversation Reply

  • Function. Returns the last created conversation reply.

Show/Hide Conversation

  • Action. Shows or hides a conversation for a player group.

Conversation Is Visible

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

Selected Conversation

  • Function. Returns the selected conversation.

Selected Conversation Reply

  • Function. Returns the selected conversation reply.

Data Conversation Tools

Active Data Conversation Camera

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

Active Data Conversation Sound

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

Data Conversation Can Be Run

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

Data Conversation Choice Count

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

Data Conversation Choice Picked

  • Function. Returns the picked state of a conversation choice.

Data Conversation Choice Picked Count

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

Data Conversation Choice State

  • Function. Returns the reply state of a conversation choice.

Data Conversation Choice Name

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

Mark Data Conversation Choice As Picked/Unpicked

  • Action. Marks a conversation choice as either picked or unpicked.

Set Data Conversation Choice Picked Count

  • Action. Sets the picked count for a conversation choice.

Mark Data Conversation Choice As Read/Unread

  • Action. Marks a conversation choice as either read or unread.

Data Conversation Line Count

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

Data Conversation Line Picked Count

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

Data Conversation Line Name

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

Set Data Conversation Line Picked Count

  • Action. Sets the picked count for a conversation line.

Load Data Conversation Lines And Choices

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

Load Data Conversation State Value

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

Load Data Conversation State Values

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

Preload Data Conversation Lines

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

Reset Data Conversation Lines And Choices

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

Reset Data Conversation State Values

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

Save Data Conversation Lines And Choices

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

Save Data Conversation State Value

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

Save Data Conversation State Values

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

Data Conversation State Ability Command

  • Function. 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

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

Data Conversation State Custom Value

  • Function. 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

  • Action. Converts a conversation state index to an integer.

Data Conversation State Text Tag Edge

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

Data Conversation State Image

  • Function. Returns the image associated with the given conversation state.

Data Conversation State Count

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

Data Conversation State Model

  • Function. 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

  • Function. Returns the movie associated with the given conversation state.

Data Conversation State Name

  • Function. Returns the display name of the given conversation state.

Data Conversation State Text

  • Function. 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

  • Function. 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

  • Action. 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

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

Set Data Conversation Unit

  • Action. Sets a conversation state to a unit.

Run Data Conversation

  • Action. Runs a conversation for the specified player group.

Set Data Conversation State

  • Action. Sets a conversation state to an integer.

Stop Data Conversation

  • Action. Stops the active conversation.

Triggering Conversation State

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