Size: 466
Comment:
|
Size: 377
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
http://guide.neatportal.com/wiki/AnyIdleHero http://guide.neatportal.com/wiki/HeroBean CategoryFunctions CategoryFunctions |
AnyIdleHero ---- CategoryFunctions |
Function
m_city.IsHeroInCastle("HeroString")
This is a function performed on HeroBean Objects, returns false if specified hero is not in the castle.
Example
if m_city.IsHeroInCastle("Trebber") goto checkTrebs
if the hero named Trebber is in the city then goto the label checkTrebs
see also: