You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been building a c++ based drl library, I am currently testing my library on the starcraft env. I am having troubles implementing some of the actions like select uni, army.. Can I please get any guidelines on what functions to call. I have this 3 currently.
inline void moveCamera() final
{
ActionsFeatureLayer()->CameraMove(current_action_arg.minimap);
ActionsFeatureLayer()->SendActions();
}
inline void selectPoint() final
{
ActionsFeatureLayer()->Select(current_action_arg.screen, current_action_arg.select_point_act);
ActionsFeatureLayer()->SendActions();
}
void selectRectangle() override
{
ActionsFeatureLayer()->Select(current_action_arg.screen, current_action_arg.screen2);
ActionsFeatureLayer()->SendActions();
}
void controlGroup() override
{
auto obs = Observation();
auto const& army = obs->GetUnits(sc2::Unit::Alliance::Self, IsArmy(obs));
for(auto const& unit: army )
{
}
}
What if i was getting observations from the rgb screen, how will i still move camera Action()->CameraMOve() isnt implemented
The text was updated successfully, but these errors were encountered:
I have been building a c++ based drl library, I am currently testing my library on the starcraft env. I am having troubles implementing some of the actions like select uni, army.. Can I please get any guidelines on what functions to call. I have this 3 currently.
The text was updated successfully, but these errors were encountered: