You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making a unit enter the build menu via a scripted order makes other units that are currently selected enter their build menu.
There are native functions with which you can give a unit orders:
IssueImmediateOrder(unit, orderstring), IssueImmediateOrderById(unit, orderid), …
There are a couple of orders you can give a unit in order to enter the build menu:
851994 (build), 851995 (humanbuild), 851996 (orcbuild), 851997 (nightelfbuild), 851998 (undeadbuild), 852467 (nagabuild)
In the cases described below, 851994 (build) is used exemplarily.
Expected
Case 1:
Unit A receives the order, but nothing changes for unit B.
Case 2:
Unit A receives the order, but nothing changes for unit B.
Actual
Case 1:
Unit A receives the order.
The command card of the selected unit B changes to its build menu.
Case 2:
Unit A receives the order.
The command card of the selected unit B changes to its build menu (presumably).
Since it has no structures to build, there are no structure buttons and the cancel button is missing too, leaving its command card completely black.
Reproduction steps
Case 1:
Place a unit A that can build structures on the map.
Place a unit B that can build structures on the map.
Select unit B (can be normal user select).
Call IssueImmediateOrderById(unit A, 851994).
Case 2:
Place a unit A that can build structures on the map.
Place a unit B that cannot build any structures on the map.
Select unit B (can be normal user select).
Call IssueImmediateOrderById(unit A, 851994).
External URLs
https://us.forums.blizzard.com/en/warcraft3/t/build-menu-is-entered-on-behalf-of-another-unit/29145
Description
Making a unit enter the build menu via a scripted order makes other units that are currently selected enter their build menu.
There are native functions with which you can give a unit orders:
IssueImmediateOrder(unit, orderstring), IssueImmediateOrderById(unit, orderid), …
There are a couple of orders you can give a unit in order to enter the build menu:
851994 (build), 851995 (humanbuild), 851996 (orcbuild), 851997 (nightelfbuild), 851998 (undeadbuild), 852467 (nagabuild)
In the cases described below, 851994 (build) is used exemplarily.
Expected
Actual
Reproduction steps
Screenshots
No response
Game Versions
1.33.0 (1.33.0.18931, 1.33.0.19010, 1.33.0.19019, 1.33.0.19089, 1.33.0.19308)
The text was updated successfully, but these errors were encountered: