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

Logic Radar command can't detect Erekir core unit #9632

Closed
2 tasks done
SITUVNgcd opened this issue Mar 10, 2024 · 2 comments
Closed
2 tasks done

Logic Radar command can't detect Erekir core unit #9632

SITUVNgcd opened this issue Mar 10, 2024 · 2 comments
Labels

Comments

@SITUVNgcd
Copy link
Contributor

Platforms

Android

Build

7-official-146

Issue

While use Block Radar to retrive player unit, Erekir core units is undetectable, no issue on Serpurlo core units.

This issue cause by Unit::targetable(Team) return false on

if(!u.within(b, range) || !u.targetable(team) || b == u) return;

If player pickup any block, it will return true. Wha?


See video for details:

Logic.Radar.Erekir.core.unit.bug.mp4

Yeah! I known! Mix tech is not recommended. But some time, Erekir map use World processor, and i'm doing this.

Steps to reproduce

  1. Game! With mix tech.
  2. Any logic block.
  3. Radar player unit.
  4. Player from Erekir core.
  5. 404 - Not found!

Mods used

SVN Test mod
Tested with non-modded, same issue.

Save file

Logic Radar Erekir core unit bug.zip

(Crash) logs

No crash here, game logic issue.

Submission

  • I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
  • I have searched the closed and open issues to make sure that this problem has not already been reported.
@SITUVNgcd SITUVNgcd added the bug label Mar 10, 2024
@Anuken
Copy link
Owner

Anuken commented Mar 10, 2024

I'm not sure what to tell you - erekir core units aren't targetable, for the same reason you can't target them with units. Logic can't detect them.

@Anuken Anuken closed this as completed Mar 10, 2024
@SITUVNgcd
Copy link
Contributor Author

Understood! Thanks.

I forgot that Erekir core units can't be targeted (shoting).

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

No branches or pull requests

2 participants