Page MenuHomeFeedback Tracker

getUnitMovesInfo command is broken
Closed, ResolvedPublic

Description

using the getUnitMovesInfo provides an error, stating that a ; is missing when properly calling the function as defined in the wiki

private _animInfo = getUnitMovesInfo player;

https://community.bistudio.com/wiki/getUnitMovesInfo

Details

Severity
None
Resolution
Not A Bug
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
Latest
Category
Scripting
Steps To Reproduce
  1. Load eden editor, drop a new unit and play the mission
  2. Hit escape and focus on the debug window
  3. Enter
private _animInfo = getUnitMovesInfo player;

into the debug code block, and click execute local

Additional Information
private _animInfo = getUnitMovesInfo player;

getUnitMovesInfo is supposed to return an array with current move info, currently the function provides null due to the error

Event Timeline

@thehungryhippo are you on stable (2.16) or dev/perf branch?

thehungryhippo added a comment.EditedWed, Apr 17, 7:01 PM

@kju-PvPscene

Launcher version: 1.5.151618

Game version: 2.16.151618

Branch: main / beta branch not specified

No workshop mods loaded

Leopard20 closed this task as Resolved.EditedWed, Apr 17, 8:15 PM
Leopard20 claimed this task.
Leopard20 added a subscriber: Leopard20.

It's not broken. You're using an old version of the game. As the wiki says, the command will be available in A3 v2.18. (you can also try it in the dev branch right now)

Leopard20 changed Severity from Major to None.Wed, Apr 17, 8:15 PM
Leopard20 changed Resolution from Open to Not A Bug.