How i can check if raid/instance boss killed (player saved) in profile ? Maybe lua GetNumSavedInstances/GetSavedInstanceInfo or something ?
here solution Code: <If Condition="Lua.GetReturnValues("for i=1,GetNumSavedInstances() do local instanceName = GetSavedInstanceInfo(i) if (instanceName == GetMapNameByID([B]*AREA ID*[/B])) then return 1 end end return 0")[0] == "1"" > <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).