# Set Resource Trading Major Step
Grammar — Set the Major Step for resourceType|Resource to amount|Amount
Flags —Native
|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 Typeint
— Amount
Returns — void
native void UISetResourceTradingMajorStep(
int inResourceType,
int inAmount,
);
# Related
Category: UI / Resource Trading
- [F] —
void
— Set Resource Trade Countdown Time — ( UISetResourceTradeCountdownTime ) - [F] —
void
— Set Resource Trading Allowed — ( UISetResourceTradingAllowed ) - [F] —
void
— Set Resource Trading Minor Step — ( UISetResourceTradingMinorStep ) - [F] —
void
— Set Resource Trading Major Step — ( UISetResourceTradingMajorStep )
# Examples
# mods/warcoop/warclassic.sc2mod
// L1007
UISetResourceTradingMajorStep(c_resourceTypeTerrazine, 200)
// L1008
UISetResourceTradingMajorStep(c_resourceTypeCustom, 100)