The unit-targeted version of Ancestral Spirit as a parameter in the order action of the GUI trigger editor converts to the wrong string in jass/lua (“ancestralspirittarg” instead of “ancestralspirittarget”), hence it does not successfully issue the order.
The GUI trigger editor in the World Editor has an action “Unit - Issue Order Targeting A Unit”, which does as the name suggests. While clicking the Ancestral Spirit ability as a user in melee games issues an order without a target, there is also a targeted version of the order, so you can precisely select what tauren to revive. The possible entries for orders and what they convert to in GUI are defined in ui\triggerdata.txt in the CASC archive of the game.
Workaround:
Steps:
Go back to the trigger editor.
Convert the trigger to jass/lua (> Edit > Convert to Custom Text).
Note the line
Change the string “ancestralspirittarg” to “ancestralspirittarget”.
Start the game again.
Kill the Spirit Walker you used as target of the order.
Hit the escape key/fire the trigger.
Now the dead Spirit Walker should be revived.
Observation:
“ancestralspirittarg” is not the right order string.
it should be “ancestralspirittarget” instead what the GUI parameter converts to.
Expected
The other Spirit Walker should use Ancestral Spirit and revive the dead one.
Actual
Nothing happens.
Reproduction steps
Place two Spirit Walkers for your player on the map (preferably with low hitpoints).
Remove the requirements from Ancestral Spirit so you do not need to research.
Give yourself burrows or something for enough supply (or use the PointBreak cheat ingame later) because Ancestral Spirit respects the supply limits.
Create a trigger with the aforementioned type of GUI action and a simple event like the player pressing the escape key (aka “Player - Cinematic Skipped”).
Pick Orc Spirit Walker - Ancestral Spirit therein and the two Spirit Walkers as ordered unit/target of the order.
Start the map.
Kill the Spirit Walker you used as target of the order.
Hit the escape key/fire the trigger.
External URLs
https://us.forums.blizzard.com/en/warcraft3/t/gui-action-order-ancestralspirittarget-wrong-string/29169
Description
The unit-targeted version of Ancestral Spirit as a parameter in the order action of the GUI trigger editor converts to the wrong string in jass/lua (“ancestralspirittarg” instead of “ancestralspirittarget”), hence it does not successfully issue the order.
The GUI trigger editor in the World Editor has an action “Unit - Issue Order Targeting A Unit”, which does as the name suggests. While clicking the Ancestral Spirit ability as a user in melee games issues an order without a target, there is also a targeted version of the order, so you can precisely select what tauren to revive. The possible entries for orders and what they convert to in GUI are defined in ui\triggerdata.txt in the CASC archive of the game.
Workaround:
Steps: Go back to the trigger editor. Convert the trigger to jass/lua (> Edit > Convert to Custom Text). Note the line
call IssueTargetOrderBJ( gg_unit_ospw_XXXX, "ancestralspirittarg", gg_unit_ospw_YYYY )
Change the string “ancestralspirittarg” to “ancestralspirittarget”. Start the game again. Kill the Spirit Walker you used as target of the order. Hit the escape key/fire the trigger.
Now the dead Spirit Walker should be revived.
Observation:
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)