Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I have not looked at this in a while but seems like the Rally Points were removed from the game
you could do the same I do for the watch-tower turret selection, and simply see if the selected object is not a turret, if its not a turret use it as rally point
then the user would just need to mark a non-turret object the same way they can mark turrets as watch-towers right now
not sure when I ll be able to adjust the code tho, have not looked at mindustry in quite a while^^
Wonder if there's a way to fix this logic's rally point function to work similar or the same to how it probably did when the command center block existed, maybe there's a way to have the logic make the units hang out around the unit production building rally point?
Seems that the rally point of the unit production buildings don't count as the rally point for the logic.
https://github.com/Anuken/Mindustry/issues/6123
Maybe head over, give it a read, and add your side of the story to the issue?
The more specific information the better.
I feel like the devs changed something and I havent updated my code accordingly (havent kept this mod up to date since February), or this might simply be just a bug^^
in any way, this error is not just with your code in the pastebin but also with mine here in the workshop
mlog code (paste in VS code or import into a Mindustry processor for easier reading):
https://pastebin.com/0nERbKdi
op sub minRange range 1
I do a multiplication with a proportion value, because if the units only approach up to their shooting range, they wont be able to follow the enemy (since the processors update slower then the enemy walk, the enemy can escape the field of fiew of the units otherwise)