# Set Victory Panel Reward Credits

Grammar — Set the number of credits earned in the victory panel to credits
FlagsNative | Action

Using this function instead of “Set Victory Panel Reward Text” will cause the credits to count up from 0 to the desired number.

# Arguments

  • int — Credits

Returns — void

native void VictoryPanelSetRewardCredits(int inCredits);

Category: Story / Victory Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L10062
VictoryPanelSetRewardCredits(libCamp_gf_MissionReward(lp_mission))