Id = name!!!
I cannot believe this hasn’t been changed in the comments. It specifically says to get their name (which I was like "cool, didn’t know I could.
units[i].name but I keep getting “undefined undefined” as response. Hmpf. Reset code twice. Eventually look it up and find here that I should be trying to get their id. How am I supposed to know that?
When I hover over the health I see “
health: xxx / yyy”, position? “
pos: ...” - target? "
target: ... " - activity? - “
action: ...” – just name and type have no hover over?
Please add hover over to the name and type fields in the little preview window that you get from clicking on a figure. – also add mention of ID in the comments of this level! Thank you.
(by the way, is that something I could do myself by changing something in git and requesting a pull? haven’t looked around for contributing before, but changing the comment part of a level sounds simple enough…)
Edit: Sorry if I seemed annoyed, just felt unfair. – just found out that twin power (a level that can be played before (available at the same time)) uses id to get the name. It’s just if you don’t force the order you have to make sure there’s a way to know about it.