# Set Purchase Group Slot

Grammar — Set the slot of purchaseGroup to slot
FlagsNative | Action

Sets the slot for the specified purchase group.

# Arguments

Returns — void

native void PurchaseGroupSetSlot(
	int inPurchaseGroupId,
	int inSlot,
);

Category: Story / Tech Purchase Panel / Purchase Groups

# Examples

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

                    PurchaseGroupSetState(libCamp_gv_tS_TechGroup_UI[lv_groupIndex], c_purchaseCategoryStateEnabled);
                    lv_slot += 1;
                    PurchaseGroupSetSlot(libCamp_gv_tS_TechGroup_UI[lv_groupIndex], lv_slot);
                    PurchaseGroupSetState(libCamp_gv_tS_TechGroup_UI[lv_groupIndex], c_purchaseGroupStateNew);
                    libCamp_gv_tSX_TechGroup_UI_New[lv_groupIndex] = true;