# Reset Data Conversation Lines And Choices

Grammar — Reset the line and choice state of conversation conversation
FlagsNative | Action

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

# Arguments

  • string [ gamelink::Conversation ] — Conversation

Returns — void

native void ConversationDataResetNodeState(string convId);

Category: Conversation / Data Conversation Tools

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L8681
ConversationDataResetNodeState(libCamp_gv_tS_Convos[lv_index])

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L3708
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lp_character))
// L5790
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter))
// L5791
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterAmbientConversation(lv_indexCharacter))
// L7588
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter))
// L8040
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lib281DEC45_gv_zSS_DebugStoryInteractiveInstance[lv_index]))
// L8234
ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter))

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L3175
ConversationDataResetNodeState(lp_conversation)
// L4621
ConversationDataResetNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable))
// L5106
ConversationDataResetNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable))
// L5107
ConversationDataResetNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable))

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L2750
ConversationDataResetNodeState(lp_conversation)
// L3966
ConversationDataResetNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable))
// L4465
ConversationDataResetNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable))
// L4466
ConversationDataResetNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable))