• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Need help with profile. Check raid/instance/boss killed or not ?

    Discussion in 'Requests & Discussion' started by camelot10, Oct 24, 2014.

    1. camelot10

      camelot10 Member

      Joined:
      May 3, 2011
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      How i can check if raid/instance boss killed (player saved) in profile ?
      Maybe lua GetNumSavedInstances/GetSavedInstanceInfo or something ?
       
      Last edited: Oct 25, 2014
    2. camelot10

      camelot10 Member

      Joined:
      May 3, 2011
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      there is no way to check saved instance or not?
       
    3. camelot10

      camelot10 Member

      Joined:
      May 3, 2011
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      here solution

      Code:
      <If Condition="Lua.GetReturnValues(&quot;for i=1,GetNumSavedInstances() do local instanceName = GetSavedInstanceInfo(i) if (instanceName == GetMapNameByID([B]*AREA ID*[/B])) then return 1 end end return 0&quot;)[0] == &quot;1&quot;" >
        <CustomBehavior File="Message" Text="Instance already completed" LogColor="Red" />
      </If>
      
       
    4. Rabbit112

      Rabbit112 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      370
      Likes Received:
      7
      Trophy Points:
      0
      Thanks for posting the solution after you found it! This will come in handy for sure, saves me having to work it out (though I might've found it in one of the other threads about this).
       

    Share This Page