# Set Resource Trading Major Step

Grammar — Set the Major Step for resourceType|Resource to amount|Amount
FlagsNative | Action

The major step is the amount incremented by clicking the arrows in the Team Resource Panel with the control key held down

# Arguments

  • int [ preset::ResourceType ] — Resource Type
  • int — Amount

Returns — void

native void UISetResourceTradingMajorStep(
	int inResourceType,
	int inAmount,
);

Category: UI / Resource Trading

# Examples

# mods/warcoop/warclassic.sc2mod

WarClassic.galaxy

// L1007
UISetResourceTradingMajorStep(c_resourceTypeTerrazine, 200)
// L1008
UISetResourceTradingMajorStep(c_resourceTypeCustom, 100)