# Set Mercenary Scene

Grammar — Set the Scene File Path of mercenaryId to scenePath
FlagsNative | Action

Sets the movie that plays when the specified mercenary is selected.

# Arguments

  • int [ preset::Mercenary ] — MercenaryId
  • string [ filepath ] — ScenePath

Returns — void

native void MercenarySetScenePath(
	int inMercenaryId,
	string inFilePath,
);

Category: Story / Mercenary Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L3748
MercenarySetScenePath(MercenaryLastCreated(), libCamp_gf_MercVideo(lv_indexMerc))
// L3751
MercenarySetScenePath(MercenaryLastCreated(), "Assets\\Textures\\merccontract_marines.ogv")
// L3754
MercenarySetScenePath(MercenaryLastCreated(), "Assets\\Textures\\merccontract_marauders.ogv")
// L3757
MercenarySetScenePath(MercenaryLastCreated(), "Assets\\Textures\\merccontract_firebats.ogv")