# CDOTAPlayer
extends CBaseAnimating
Function | Description | Client |
---|---|---|
void CheckForCourierSpawning(hHero) | Attempt to spawn the appropriate couriers for this mode. | ❌ |
handle GetAssignedHero() | Get the player's hero. | ❌ |
int GetPlayerID() | Get the player's official PlayerID; notably is -1 when the player isn't yet on a team. | ❌ |
void MakeRandomHeroSelection() | Randoms this player's hero. | ❌ |
void SetAssignedHeroEntity(hHero) | Sets this player's hero . | ❌ |
void SetKillCamUnit(hEntity) | Set the kill cam unit for this hero. | ❌ |
void SetMusicStatus(nMusicStatus, flIntensity) | (nMusicStatus, flIntensity) - Set the music status for this player, note this will only really apply if dota_music_battle_enable is off. | ❌ |
void SetSelectedHero(pszHeroName) | Sets this player's hero selection. | ❌ |