• Visit Rebornbuddy
  • Any way to tell when your character is in the process of zoning?

    Discussion in 'Community Developer Forum' started by mistahmikey, Jan 28, 2016.

    1. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      Looked though the docs and was hoping to see something like Player.IsZoning. Any way to detect this?
       
    2. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Not zoning technically, but this should do the trick: ff14bot.Behavior.CommonBehaviors.IsLoading
       
    3. RahlRB

      RahlRB New Member

      Joined:
      Sep 24, 2015
      Messages:
      20
      Likes Received:
      2
      Trophy Points:
      0
      I'm not exactly sure what you're trying to do....

      but you could subscribe to the following event: ff14bot.NeoProfiles.GameEvents.OnMapChanged

      That event will fire every time you change zones.
       
    4. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      397
      Likes Received:
      15
      Trophy Points:
      18
      Ah yes, events. Love those suckers... Just need to remember to use them. :D
       
    5. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      I am just trying to ensure I don't try to do certain things while my character is teleporting or moving between zones.
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,575
      Likes Received:
      240
      Trophy Points:
      63
      If your using behavior tress just use

      Code:
      CommonBehaviors.HandleLoading
      
      for coroutines

      Code:
      await CommonTasks.HandleLoading();
      
       

    Share This Page