Are the terrain movement costs exposed in the scripts?
Posted: Thu Jan 26, 2012 6:29 pm
I can't find any function call that returns the AP movement cost for terrain types. I would like to display them in a tooltip.
Thanks
Thanks
Forum
https://forum.slitherine.com/
Actually that would be good enough for now. Do you know the function call off the top of your head to get the terrain movement cost for a particular tile? All I can find it GetTerrainCoverValue to return the cover values.pipfromslitherine wrote:There isn't anything to grab the terrain types and get their costs for a given unit type, if that is what you mean? You can get the cost for a given tile, but not the general data.
I'll add it to the wishlist.
Cheers
Pip
Thanks, got it.pipfromslitherine wrote:GetTileCost is the function you want. Check the autodocs for more details.
Cheers
Pip