All of the functions that reference ige.variable
in the source code instead of self
don’t work. List of all of them:
- angleBetweenMouseAndWindowCenter (VariableComponent.js:1164)
- getUnitData (VariableComponent.js:1484)
- getPlayerData (VariableComponent.js:1492)
- getPlayerId (VariableComponent.js:1500)
- getUnitId (VariableComponent.js:1507)
Example of using getUnitData: https://www.modd.io/play/zUrwXyM2Q
The error when the ‘Get unit data’ item is used: