Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetCustomGameForceHero

From Valve Developer Community
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

void SetCustomGameForceHero(string pHeroName)

Force single-player hero selection.


Example
function CDOTABaseGameMode:SetCustomGameForceHero( pHeroName ) end

Parameters

Type Name Description
string pHeroName No Description Set