# Data Conversation Can Be Run

Grammarconversation conversation can be run, checking unpickedOnly|All/Only Unpicked lines and choices
FlagsNative | Function

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

# Arguments

  • string [ gamelink::Conversation ] — Conversation
  • bool [ preset::UnpickedOnlyOption ] — Unpicked Only

Returns — bool

native bool ConversationDataCanRun(
	string convId,
	bool unpickedOnly,
);

Category: Conversation / Data Conversation Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L5360
ConversationDataCanRun(lv_convo, false)
// L9538
ConversationDataCanRun(lv_convo, true)
// L15643
ConversationDataCanRun("Valerian", true)
// L16359
ConversationDataCanRun("LabFidgetsArtifact", true)
// L5360
ConversationDataCanRun(lv_convo, false)
// L9538
ConversationDataCanRun(lv_convo, true)
// L15643
ConversationDataCanRun("Valerian", true)
// L16359
ConversationDataCanRun("LabFidgetsArtifact", true)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L489
ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_character), false)
// L490
ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_character), true)
// L2243
ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), false)
// L2342
ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lib281DEC45_gv_zSS_DebugStoryInteractiveInstance[lv_index]), false)
// L5636
ConversationDataCanRun("zScripted_EvolutionMaster_First", true)

# campaigns/void.sc2campaign

MapScript.galaxy

// L274
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L274
ConversationDataCanRun("pAmbientGreeting_TaldarimHero", false)
// L314
ConversationDataCanRun("pAmbientGreeting_Preserver", false)
// L314
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L315
ConversationDataCanRun("pAmbientGreeting_Preserver", false)
// L318
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L351
ConversationDataCanRun("pAmbientGreeting_Smith", false)
// L351
ConversationDataCanRun("pAmbientGreeting_ProtossAI", false)
// L352
ConversationDataCanRun("pAmbientGreeting_Smith", false)
// L355
ConversationDataCanRun("pAmbientGreeting_ProtossAI", false)
// L274
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L274
ConversationDataCanRun("pAmbientGreeting_TaldarimHero", false)
// L314
ConversationDataCanRun("pAmbientGreeting_Preserver", false)
// L314
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L315
ConversationDataCanRun("pAmbientGreeting_Preserver", false)
// L318
ConversationDataCanRun("pAmbientGreeting_DTLeader", false)
// L351
ConversationDataCanRun("pAmbientGreeting_Smith", false)
// L351
ConversationDataCanRun("pAmbientGreeting_ProtossAI", false)
// L352
ConversationDataCanRun("pAmbientGreeting_Smith", false)
// L355
ConversationDataCanRun("pAmbientGreeting_ProtossAI", false)

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L930
ConversationDataCanRun(libVCST_gf_PS_ClickableConversation(lv_indexClickable), true)
// L5914
ConversationDataCanRun(UserDataGetGameLink("Clickable", lv_indexClickable, "Ambient Conversation", 1), false)

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L839
ConversationDataCanRun(libNCST_gf_NS_ClickableConversation(lv_indexClickable), true)
// L4916
ConversationDataCanRun(UserDataGetGameLink("Clickable", lv_indexClickable, "Ambient Conversation", 1), false)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L6880
ConversationDataCanRun(libA3DDD02B_gf_MissionPitch(libA3DDD02B_gv_pP_NextMission), false)