# Create Research Category

Grammar — Create a new research category in slot slot for players|PlayerGroup
FlagsNative | Action

Creates a new research category for the research panel. Use “Last Created Research Category” to get the research category created by this action.

# Arguments

  • playergroup — Players
  • int — Slot

Returns — int [ preset::ResearchCategory ]

native int ResearchCategoryCreate(
	playergroup inPlayerGroup,
	int inSlot,
);

Category: Story / Research Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L5538
ResearchCategoryCreate(PlayerGroupAll(), lv_categoryIndex)