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

Param to skip taskGarrison check for "outdoor" positions #324

Open
Zman6258 opened this issue Sep 1, 2022 · 0 comments
Open

Param to skip taskGarrison check for "outdoor" positions #324

Zman6258 opened this issue Sep 1, 2022 · 0 comments

Comments

@Zman6258
Copy link

Zman6258 commented Sep 1, 2022

Is your enhancement related to a problem?
TaskGarrison has a check to remove half of all positions considered "outdoors" from being available to garrison, likely to prevent squads from entirely situating themselves on balconies and rooftops. While this works great for buildings, in certain situations such as trenches or h-barrier walls, it can result in AI not taking open positions even when manually calling lambs_wp_fnc_taskGarrison.

Solution you'd like:
An additional, optional parameter that allows you to skip this step of pruning half of all outdoor AI positions. Alternatively, a CBA setting which controls this behavior, or even a hybrid of both where you can set the default behavior and override it specifically.

Alternatives you've considered:
If you want to get really fancy with it, it'd be interesting to have that parameter be a customizable ratio instead. Maybe you want 80% of outdoor positions removed, or only 20%; maybe you want a 100% chance so no possible outdoor positions can be chosen, or a 0% chance so they can fully use all positions.

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

No branches or pull requests

1 participant