<> See also: [[Heroes]]<
> == IsHeroInCastle == ||Usage: ||m_city.!IsHeroInCastle("!HeroName") || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||m_city.!IsHeroInCastle("LKD70") || If the hero named "LKD70" is in the castle this will return true. A HeroString can also be used instead of the hero name. <
> == TrainingHeroIsHere == ||Usage: ||m_city.cityManager.!TrainingHeroIsHere || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||echo m_city.cityManager.!TrainingHeroIsHere|| If the specified !TrainingHero is in the castle this will return true. ---- CategoryFunctions