Blizzard / Blizzard/s2client-api

A situation of Multiplayer and Addon

Open
#211 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
280
PR merge metrics
No merged PRs in 30d

Description

Hello! I am a newbie who has just used Github and Commander Center,my bot race is Terran,then I want to use the "CreateParticipant()" to add the custom bot to me, fight with my bot,
**CreateParticipant(Util::GetRaceFromString(botRaceString), &Player),
CreateParticipant(Util::GetRaceFromString(botRaceString), &bot)**
I can open two windows,but the
**else if (item.type.getUnitTypeID() == sc2::UNIT_TYPEID::TERRAN_STARPORTREACTOR)
Micro::SmartAddon(producer, sc2::ABILITY_ID::BUILD_REACTOR_STARPORT, m_bot);**
is invalid in the game.Do other people has encountered such a problem?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.