What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Need help with profile. Check raid/instance/boss killed or not ?

camelot10

Member
Joined
May 3, 2011
Messages
55
Reaction score
1
How i can check if raid/instance boss killed (player saved) in profile ?
Maybe lua GetNumSavedInstances/GetSavedInstanceInfo or something ?
 
Last edited:
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>
 
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).
 
Back
Top