# Data Conversation State Attachment Point

Grammar — Attachment point for conversation stateIndex|State
FlagsNative | Function

Returns the attachment point associated with the given conversation state.

# Arguments

  • string<convstateindex> — State Index

Returns — string<preset::AttachPoints>

native string ConversationDataStateAttachPoint(
	string stateIndex,
);

Category: Conversation / Data Conversation Tools

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:9527

    }

    gf__AddFlashingTextTag(lp_unit, ConversationDataStateName(lp_conversationStateIndex), ConversationDataStateAttachPoint(lp_conversationStateIndex), lp_offsetX, lp_offsetY, ConversationDataStateImagePath(lp_conversationStateIndex), ConversationDataStateImageEdge(lp_conversationStateIndex), lp_edgeOffsetX, lp_edgeOffsetY);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:9543

    }

    gf__AddFlashingTextTag(gf_ActorUnit(lp_actor), ConversationDataStateName(lp_conversationStateIndex), ConversationDataStateAttachPoint(lp_conversationStateIndex), lp_offsetX, lp_offsetY, ConversationDataStateImagePath(lp_conversationStateIndex), ConversationDataStateImageEdge(lp_conversationStateIndex), lp_edgeOffsetX, lp_edgeOffsetY);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:9527

    }

    gf__AddFlashingTextTag(lp_unit, ConversationDataStateName(lp_conversationStateIndex), ConversationDataStateAttachPoint(lp_conversationStateIndex), lp_offsetX, lp_offsetY, ConversationDataStateImagePath(lp_conversationStateIndex), ConversationDataStateImageEdge(lp_conversationStateIndex), lp_edgeOffsetX, lp_edgeOffsetY);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:9543

    }

    gf__AddFlashingTextTag(gf_ActorUnit(lp_actor), ConversationDataStateName(lp_conversationStateIndex), ConversationDataStateAttachPoint(lp_conversationStateIndex), lp_offsetX, lp_offsetY, ConversationDataStateImagePath(lp_conversationStateIndex), ConversationDataStateImageEdge(lp_conversationStateIndex), lp_edgeOffsetX, lp_edgeOffsetY);
}