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

LUS gadget: think about supporting more events in script

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

Description

Sometimes you need to make a standalone gadget, even to handle some logic that only pertains to a single unit type. Think a custom command which requires `CommandFallback`, or maybe some amphibious unit wants `UnitEnteredWater`. I think ideally all `gadget:UnitFrobbed(unitID, foo, bar)` would also be available as `script.Frobbed(foo, bar)`.

The task is to investigate this prompt and come up with a design/implementation.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the gadget event entry points named in the issue, including gadget:UnitFrobbed, CommandFallback, and UnitEnteredWater, and compare them with the script.Frobbed form. Produce a design for exposing more gadget events to standalone scripts, with an implementation plan or implementation that covers the requested event flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.