Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Unit.owner of a neutral units is 16, but Debug().DebugCreateUnit() can not create a unit whose owner is 16 #328

Open
monarchBacilluscoli opened this issue Feb 24, 2020 · 0 comments

Comments

@monarchBacilluscoli
Copy link

monarchBacilluscoli commented Feb 24, 2020

I used Debug()->DebugCreateUnit() to create units by their information from one instance to a new game instance. But I found there are always fewer units created successfully.
Then I checked them and found no Neutral alliance unit was copied. Besides, the unit info shows that the owner of the original neutral units is 16. But you know, the highest player id is 15 in SC2Editor -- and the neutral player's id in it is 0.
So I tried to create a unit whose owner is 0, then I successed.
But it is still confusing. So I reported this issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant