Follow-up Comment #5, patch #971 (project wesnoth):

Ahh, thanks! That's much better than what I did.

unit.name now gives the description from WML if it exists, otherwise the
typename, numeric id and unit name :).

e.g. leader unit from 1st scenario in "Flight to Freedom":
 unit.name --> "Malakar"
generic unit:
 unit.name --> "Drake Glider-1053859161-Maraag"

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?971>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to