Skip to content

Allow SpawnStartingUnits to have an immovable BaseActor#21537

Merged
PunkPun merged 1 commit intoOpenRA:bleedfrom
RoosterDragon:immovable-spawn
Aug 16, 2024
Merged

Allow SpawnStartingUnits to have an immovable BaseActor#21537
PunkPun merged 1 commit intoOpenRA:bleedfrom
RoosterDragon:immovable-spawn

Conversation

@RoosterDragon
Copy link
Member

@RoosterDragon RoosterDragon commented Aug 13, 2024

Fixes a regression from #21521 - where the support actors must be able to path to the base actor in order to prevent them from spawning in isolated areas. If the base actor is immovable, they cannot path onto it because the base actor blocks them, so no support actors will spawn.

Fix this by allowing the support actors to path back to any cell adjacent to an immovable base actor, rather than requiring them to be able to path to its location directly.


Fixes #21533

This can be tested with the same test map from the original ticket, and changing the starting units to use BaseActor: fact as per the bug report.

image

Fixes a regression from 2c435c0 - where the support actors must be able to path to the base actor in order to prevent them from spawning in isolated areas. If the base actor is immovable, they cannot path onto it because the base actor blocks them, so no support actors will spawn.

Fix this by allowing the support actors to path back to any cell adjacent to an immovable base actor, rather than requiring them to be able to path to its location directly.
@PunkPun PunkPun merged commit 8a56e14 into OpenRA:bleed Aug 16, 2024
@PunkPun PunkPun added this to the Next Release milestone Aug 16, 2024
@PunkPun
Copy link
Member

PunkPun commented Aug 16, 2024

changelog

@RoosterDragon RoosterDragon deleted the immovable-spawn branch August 18, 2024 13:02
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.

SupportActors spawning fails if BaseActor is a building.

2 participants