• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "IsHeroInCastle"
    Differences between revisions 1 and 3 (spanning 2 versions)
    Revision 1 as of 2013-08-09 04:21:00
    Size: 146
    Editor: tech
    Comment:
    Revision 3 as of 2013-08-09 04:41:39
    Size: 448
    Editor: tech
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    function = Function =
    '''m_city.IsHeroInCastle'''("HeroString")
    Line 3: Line 4:
    m_city.IsHeroInCastle("HeroString") This is a function performed on HeroBean Objects, returns false if specified hero is not in the castle.
    Line 5: Line 6:
    This is a function performed on HeroBean Objects == Example ==
    {{{
    if m_city.IsHeroInCastle("Trebber") goto checkTrebs
    }}}
    if the hero named Trebber is in the city then goto the label checkTrebs
    Line 7: Line 12:
    http://guide.neatportal.com/wiki/HeroBean '''see also: '''

    http://guide.neatportal.com/wiki/AnyIdleHero

    http://guide.neatportal.com/wiki/HeroBean 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:

    http://guide.neatportal.com/wiki/AnyIdleHero

    http://guide.neatportal.com/wiki/HeroBean CategoryFunctions

    IsHeroInCastle (last edited 2014-02-10 18:34:54 by Inanna)