Where is a tile's name/faction base data found?

Started by Kyna Tiona, January 12, 2017, 12:38:10 AM

Previous topic - Next topic

Kyna Tiona

I'm displaying an alert for a map-specific event, which could be really frustrating if I don't include the name of the map it's happening on. Problem is, while I can see the data structures for a map's tile info and for a faction base's info, I can't figure out how to access the latter from the former.

ison


Kyna Tiona

Quote from: ison on January 12, 2017, 03:38:59 PM
You can use map.info.parent.

Oh! I didn't realize FactionBase was a child of MapParent. Thanks!