Giter Site home page Giter Site logo

Comments (5)

JasonP01 avatar JasonP01 commented on May 30, 2024

Ever heard of a fun little instruction called unbind? That's in ucontrol... and has its own description ingame

from mindustry-suggestions.

limonovthesecond2 avatar limonovthesecond2 commented on May 30, 2024

Ever heard of a fun little instruction called unbind? That's in ucontrol... and has its own description ingame

Of course, but unfortunately it does not solve the problem

After unbinding, these units will not be tied to the last player and will simply be idle somewhere.

2024-02-11_19-10-31-022-javaw.mp4

from mindustry-suggestions.

JasonP01 avatar JasonP01 commented on May 30, 2024

Ah command mode, i didnt pick up that detail in the previous comment. As for within, you could use sensor xy to do that (no ucontrol needed) as a solution for current version, for the ulocate implementation there is little you could do that wouldnt hinder the behaviour

from mindustry-suggestions.

rekokoro avatar rekokoro commented on May 30, 2024

ulocate is a command for processor to pass value to variable rather than making some changes for unit. The same is with unit within command.

Imagine selecting and commanding flock of units while watching how they stop one by one just because somewhere processor are checking their location.

from mindustry-suggestions.

limonovthesecond2 avatar limonovthesecond2 commented on May 30, 2024

As for within, you could use sensor xy

Indeed, for within there is a workaround that literally does the same thing as within.

the ulocate implementation there is little you could do that wouldnt hinder the behaviour

The key feature of ulocate is to determine the location of the building for each unit separately. The thing you can do without ruining the gameplay is to move all units to only one building. This is especially critical for repair turrets, when a unit can go to the one that is located at the end of the map, through the enemyโ€™s walls, and not to the nearest one literally a few blocks away from the unit.
This is not to mention the fact that you also need to use ulocate to define it. Moreover, you should check from time to time with ulocate whether this building is still alive.
To sum it up, there are no bindingless alternatives to ulocate.

from mindustry-suggestions.

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.