# Data Conversation State Ability Command

GrammarinfoName ability command of conversation stateIndex|State
FlagsNative | Function

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

# Arguments

  • string<convstateindex> — State Index
  • string — Info Name

Returns — abilcmd

native abilcmd ConversationDataStateAbilCmd(
	string stateIndex,
	string inInfoName,
);

Category: Conversation / Data Conversation Tools

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4920

    // Automatic Variable Declarations
    // Implementation
    return ConversationDataStateAbilCmd(libCamp_gv_tS_ResearchConvoID[(lp_researchID)], ("Ability Command 1"));
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4926

    // Automatic Variable Declarations
    // Implementation
    return ConversationDataStateAbilCmd(libCamp_gv_tS_ResearchConvoID[(lp_researchID)], ("Ability Command 2"));
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:6663

        lv_convoID = "AC1";
    }
    return ConversationDataStateAbilCmd(libCamp_gf_TS_StoryTechConvoID(lp_tech), (lv_convoID));
}