Page MenuHomeFeedback Tracker

[Feature Request] New scripting command: command
New, NormalPublic

Description

There are many AI commands that are only accessible via commanding menus. It is possible to script most of them, but it's a lot of effort for new comers.

A single command that allows us to issue all AI commands would be amazing. Similar to the action command.

[ai1, ai2, ...] command ["commandEnum", target]

The left arg can also be a single unit
for example:

ai1 command ["healSoldier", ai2]

Maybe with an additional bool at the end that issues the command silently:

[ai1, ai2, ...] command ["commandEnum", target, silent = false]

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

h- added a subscriber: h-.Apr 11 2022, 6:54 PM