1. #1
    High Overlord
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    The Netherlands
    Posts
    187

    When does C_Scenario.GetStepInfo() become available?

    I'm working on a Challenge Mode addon and I have this line of code, that's supposed to fire when the player enters a Challenge Mode/reloads UI in a Challenge Mode/logs into a Challenge Mode:

    current_dungeon_string, _, current_steps = C_Scenario.GetStepInfo()

    I've tried PLAYER_ALIVE, which didn't suit because I need it to also fire after a /reload UI. Then I tried PLAYER_ENTERING_WORLD, but that fired too soon and gave me nil values for current_dungeon_string. Is there an event for when this data becomes available? Thanks.

  2. #2
    wordswordswords

    Code:
    ZONE_CHANGED_NEW_AREA, ZONE_CHANGED, RAID_INSTANCE_WELCOME, INSTANCE_GROUP_SIZE_CHANGED
    Last edited by Aleaa; 2014-07-30 at 12:26 PM.

  3. #3
    PLAYER_ENTERING_WORLD works for me. Sure you look at the right place for the error?

  4. #4
    High Overlord
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    The Netherlands
    Posts
    187
    Quote Originally Posted by Urtgard View Post
    PLAYER_ENTERING_WORLD works for me. Sure you look at the right place for the error?
    Thanks it was something else!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •