Git Product home page Git Product logo

Comments (5)

NiteKat avatar NiteKat commented on July 30, 2024 1

If I recall correctly, there's also an oddity when a gas structure is destroyed. So the Gesyer morphs into the gas structure, but when it's destroyed or cancelled, I believe a new Geyser is created and assigned a new ID in BWAPI and triggers unit create? I might have a detail off there, but just a heads up that there's also another "not intuitive" situation there thanks to the internals of Brood War.

from bwapi.

dgant avatar dgant commented on July 30, 2024 1

You may find Unusual BW Unit Transitions helpful

from bwapi.

NiteKat avatar NiteKat commented on July 30, 2024

Is this behavior exclusive to Protoss Assimilators? My understanding is that for all gas structures (Terran Refinery, Zerg Extractor, and Protoss Assimilator) the Vespene Geyser morphs into the new gas structure. This would mean that the wasAlive flag being set is not a bug, it just behaves in a way that might not be intuitive at first glance.

from bwapi.

wojcikp avatar wojcikp commented on July 30, 2024

Interesting, I will test that and if so mark it here. It makes sense what you are saying for sure!

I have only ever used BWAPI as Protoss so not sure for other races if same behavior!

from bwapi.

wojcikp avatar wojcikp commented on July 30, 2024

Well thank you @NiteKat you are 100% correct! The issue I have raised is is not a bug, you use the morph event to detect creation of an assimilator.

Sigh, at least I have a much better idea about how the injected hacks work

from bwapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.