# Active Data Conversation Sound
Grammar — Active data conversation sound
Flags —Native
|Function
Returns the sound associated with the active line in the running data conversation
Returns — string
<gamelink::Sound>
native string ConversationDataActiveSound();
# Related
Category: Conversation / Data Conversation Tools
- Mark Data Conversation Choice As Read/Unread —
void
— ConversationDataChoiceSetState - Mark Data Conversation Choice As Picked/Unpicked —
void
— ConversationDataChoiceSetPicked - Set Data Conversation Choice Picked Count —
void
— ConversationDataChoiceSetPickedCount - Set Data Conversation Line Picked Count —
void
— ConversationDataLineSetPickedCount - Set Data Conversation Line Players —
void
— ConversationDataLineSetPlayers - Reset Data Conversation Line Players —
void
— ConversationDataLineResetPlayers - Show/Hide Data Conversation Line For Observers —
void
— ConversationDataLineHideForObservers - Set Data Conversation Listener Gender —
void
— ConversationDataSetListenerGender - Save Data Conversation State Value —
void
— ConversationDataSaveStateValue - Load Data Conversation State Value —
void
— ConversationDataLoadStateValue - Save Data Conversation State Values —
void
— ConversationDataSaveStateValues - Load Data Conversation State Values —
void
— ConversationDataLoadStateValues - Reset Data Conversation State Values —
void
— ConversationDataResetStateValues - Save Data Conversation Lines And Choices —
void
— ConversationDataSaveNodeState - Load Data Conversation Lines And Choices —
void
— ConversationDataLoadNodeState - Reset Data Conversation Lines And Choices —
void
— ConversationDataResetNodeState - Preload Data Conversation Lines —
void
— ConversationDataPreloadLines - Preload Data Conversation Lines For Next Map —
void
— ConversationDataPreloadLinesQueue - Simulate Data Conversation —
void
— ConversationDataSimulateRun - Data Conversation State —
int
— ConversationDataStateGetValue - Data Conversation State Count —
int
— ConversationDataStateIndexCount - Data Conversation State Name —
text
— ConversationDataStateName - Data Conversation State Custom Value —
fixed
— ConversationDataStateFixedValue - Data Conversation State Image —
string
<filepath> — ConversationDataStateImagePath - Data Conversation State Movie —
string
<filepath> — ConversationDataStateMoviePath - Data Conversation State Model —
string
<gamelink::Model> — ConversationDataStateModel - Data Conversation State Text —
text
— ConversationDataStateText - Data Conversation State Text Tag Edge —
int
<preset::TextTagEdge> — ConversationDataStateImageEdge - Data Conversation State Upgrade —
string
<gamelink::Upgrade> — ConversationDataStateUpgrade - Data Conversation State Ability Command —
abilcmd
— ConversationDataStateAbilCmd - Data Conversation State Attachment Point —
string
<preset::AttachPoints> — ConversationDataStateAttachPoint - Data Conversation Can Be Run —
bool
— ConversationDataCanRun - Data Conversation Choice Count —
int
— ConversationDataChoiceCount - Data Conversation Choice Name —
string
— ConversationDataChoiceId - Data Conversation Choice Picked —
bool
<preset::PickedState> — ConversationDataChoiceGetPicked - Data Conversation Choice Picked Count —
int
— ConversationDataChoiceGetPickedCount - Data Conversation Choice State —
int
<preset::ReplyState> — ConversationDataChoiceGetState - Data Conversation Line Count —
int
— ConversationDataLineCount - Data Conversation Line Name —
string
— ConversationDataLineId - Data Conversation Line Picked Count —
int
— ConversationDataLineGetPickedCount - Data Conversation Lines With Tag
- Data Conversation Sound —
string
<gamelink::Sound> — ConversationDataGetSound - Data Conversation Speaker —
string
<gamelink::Character> — ConversationDataGetSpeaker - Active Data Conversation Camera —
string
<convstateindex> — ConversationDataActiveCamera - Active Data Conversation Line —
string
<convline> — ConversationDataActiveLine - Active Data Conversation Sound —
string
<gamelink::Sound> — ConversationDataActiveSound - Last Data Conversation Was Skipped —
bool
— ConversationDataWasSkipped
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23394
gv_convoCameraChangeResult = false;
TriggerExecute(gt_CharArtifactClickedCameraChangeNoChange, true, false);
auto03995A5B_val = ConversationDataActiveSound();
if (auto03995A5B_val == "CharFidgetsArtifactTychus00001") {
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23432
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
auto913B3238_val = ConversationDataActiveSound();
if (auto913B3238_val == "CharFidgetsArtifactTychus00001") {
Wait((SoundLengthSync(SoundLink("CharFidgetsArtifactTychus00001", -1)) / 2.0), c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23652
TriggerStop(gt_LabArtifactClickedCameraChangeNoWait);
TriggerExecute(gt_LabArtifactClickedCameraChangeNoWait, true, false);
autoC9863F53_val = ConversationDataActiveSound();
{
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23676
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
TriggerExecute(gt_LabArtifactClickedPositionCharacters, true, false);
autoFD9F2057_val = ConversationDataActiveSound();
if (autoFD9F2057_val == "LabFidgetsArtifactRaynor00017") {
Wait((SoundLengthSync(SoundLink("LabFidgetsArtifactRaynor00017", -1)) / 2.0), c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26454
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
autoF4007082_val = ConversationDataActiveSound();
if (autoF4007082_val == "ValerianValerian00001") {
CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26467
libNtve_gf_SetAnimationTimeScale(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorRaynor)), c_animNameDefault, 2.5);
Wait(0.6384, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26473
SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
Wait(0.7, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26489
Wait(1.0, c_timeGame);
CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26494
Wait(0.6, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26500
SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
Wait(0.4, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:23394
gv_convoCameraChangeResult = false;
TriggerExecute(gt_CharArtifactClickedCameraChangeNoChange, true, false);
auto03995A5B_val = ConversationDataActiveSound();
if (auto03995A5B_val == "CharFidgetsArtifactTychus00001") {
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:23432
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
auto913B3238_val = ConversationDataActiveSound();
if (auto913B3238_val == "CharFidgetsArtifactTychus00001") {
Wait((SoundLengthSync(SoundLink("CharFidgetsArtifactTychus00001", -1)) / 2.0), c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:23652
TriggerStop(gt_LabArtifactClickedCameraChangeNoWait);
TriggerExecute(gt_LabArtifactClickedCameraChangeNoWait, true, false);
autoC9863F53_val = ConversationDataActiveSound();
{
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:23676
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
TriggerExecute(gt_LabArtifactClickedPositionCharacters, true, false);
autoFD9F2057_val = ConversationDataActiveSound();
if (autoFD9F2057_val == "LabFidgetsArtifactRaynor00017") {
Wait((SoundLengthSync(SoundLink("LabFidgetsArtifactRaynor00017", -1)) / 2.0), c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26454
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
autoF4007082_val = ConversationDataActiveSound();
if (autoF4007082_val == "ValerianValerian00001") {
CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26467
libNtve_gf_SetAnimationTimeScale(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorRaynor)), c_animNameDefault, 2.5);
Wait(0.6384, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26473
SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
Wait(0.7, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26489
Wait(1.0, c_timeGame);
CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26494
Wait(0.6, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26500
SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
Wait(0.4, c_timeReal);
if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
return true;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:20464
if ((libSwaC_gv_zS_ArmyCustomCategoryCurrent == "Zergling") && (libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount != -1)) {
libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount += 1;
if ((libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount >= 7) && (ConversationDataActiveSound() == null)) {
libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount = -1;
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), c_invalidPortraitId, SoundLink(ConversationDataGetSound("zSMAmbient_EvolutionMaster|Line00068", false), c_soundIndexAny), 0.0, c_transmissionDurationAdd, false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4271
else {
}
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4272
}
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4272
}
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4276
}
else {
lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
}
CutscenePlayCutsceneRangeOverTime(lib281DEC45_gv_zSS_ConversationScene, lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3476
}
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3477
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3477
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3481
}
else {
lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
}
CutscenePlayCutsceneRangeOverTime(libVCST_gv_pS_ConversationScene, libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5925
if ((lv_numberOfTalkingClickables > 0)) {
lv_randomClickable = RandomInt(1, lv_numberOfTalkingClickables);
if ((ConversationDataActiveSound() == "") && (libVCMI_gf_PlayerInCinematicModeCampaign() == false)) {
libVCST_gf_PS_AmbientConversationStart();
ConversationDataRun(UserDataGetGameLink("Clickable", lv_listOfTalkingClickables[lv_randomClickable], "Ambient Conversation", 1), PlayerGroupAll(), c_conversationSkipSimple, true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5995
}
if ((ConversationDataActiveSound() == "") && (libVCMI_gf_PlayerInCinematicModeCampaign() == false) && (libVCST_gv_pS_AmbientConversationRunning == false)) {
libVCST_gf_TurnFidgetStatusForClickableOnOff("Smith", false);
libVCST_gv_pS_KaraxPickupEventRunning = true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:6002
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(libVCST_gf_ClickableUnit("Smith")), c_animNameDefault, "Pickup", c_animFlagNonLooping, 0.75);
Wait(17.0, c_timeGame);
if ((ConversationDataActiveSound() == "")) {
ConversationDataRun("pAmbientDrone_Smith", PlayerGroupAll(), c_conversationSkipSimple, false);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2978
}
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2979
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2979
SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
lv_lineDuration = 10.0;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2983
}
else {
lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
}
CutscenePlayCutsceneRangeOverTime(libNCST_gv_nS_ConversationScene, libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:4927
if ((lv_numberOfTalkingClickables > 0)) {
lv_randomClickable = RandomInt(1, lv_numberOfTalkingClickables);
if ((ConversationDataActiveSound() == "") && (libNCMI_gf_PlayerInCinematicModeCampaign() == false)) {
libNCST_gf_NS_AmbientConversationStart();
ConversationDataRun(UserDataGetGameLink("Clickable", lv_listOfTalkingClickables[lv_randomClickable], "Ambient Conversation", 1), PlayerGroupAll(), c_conversationSkipSimple, true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:5816
}
if (!((ConversationDataActiveSound() == null))) {
return false;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6140
}
if (!((ConversationDataActiveSound() == null))) {
return false;
}