beyond-all-reason / beyond-all-reason/RecoilEngine

Add a way to set void state

Open
#1,350 0 comments 0 reactions 0 assignees View on GitHub
area: Lua API enhancement
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Attaching a unit to another can put it in the void state:
https://github.com/beyond-all-reason/spring/blob/41c58746c30843fe946332f1a2f868f27c430149/rts/Sim/Units/Unit.cpp#L2523

The request is to add a way to do it standalone without the need to attach it to another unit.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting rts/Sim/Units/Unit.cpp around line 2523 and trace how attaching a unit causes the void state. Identify the existing state transition and the public entry point that could invoke it independently; done means a unit can enter the void state without being attached to another unit.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.