Function
Anvil
Anvil_SetPlayerResources
Set a player's resource income. Provide income-per-minute values. For SP missions.
On this page
Anvil_SetPlayerResources(player, manpowerIncome, munitionsIncome, fuelIncome, manpowerCap, arg5, arg6, fuelCap]))Description
Default values are set in anvil.scar. To set all values to default, provide only the player argument.
Parameters
playerPlayerIDrequiredmanpowerIncomeFloatoptionalmunitionsIncomeFloatoptionalfuelIncomeFloatoptionalmanpowerCapFloatoptionalarg5Floatoptionalarg6munitionsCapoptionalfuelCap])Floatoptional
Returns
NilSource
Declared in the game's script sources at:
scar/gamescarutil.scar