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

Improve starting units #3331

Merged
merged 3 commits into from
Aug 5, 2023
Merged

Improve starting units #3331

merged 3 commits into from
Aug 5, 2023

Conversation

KJeff01
Copy link
Member

@KJeff01 KJeff01 commented Aug 3, 2023

Implement a randomized assortment of some of the best unit designs possible when starting Beta and Gamma from the main menu as part of a suggestion. To my surprise I discovered Commanders can't be seen in eventTransporterLanded with enumCargo() because they get pulled out of the transporter's group a little bit before hand (recreating a Commander group with add() removes a unit from another droid's group when called--in this case the transporter). I moved it after the script event to fix this as the whole process should be the same essentially.

Beta gets a ranked sensor and a commander in the first drop and Gamma gets 2 Hero commanders at the start over the AA tanks (4 whirlwinds come in the second drop only as they aren't useful in the first drop and I'll let the player decide if they want to recycle units for more mobile AA).

If trying to use enumCargo() during an eventTransporterLanded the Commander was already removed from the transporter group.
@KJeff01 KJeff01 added this to the 4.4.0-beta1 milestone Aug 4, 2023
@KJeff01 KJeff01 merged commit 6bc54e6 into Warzone2100:master Aug 5, 2023
37 checks passed
@KJeff01 KJeff01 deleted the improveUnits branch August 5, 2023 01:32
@GiantEnemyCrabKing
Copy link

Waiting for a response here: https://discord.com/channels/684098359874814041/1168553473885884426

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

Successfully merging this pull request may close these issues.

2 participants