View Single Post
08-01-12, 04:08 PM   #184
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 89
Originally Posted by Jarod24 View Post
So far ive not been able to test dugeon scenarios myself.

Does anyone know if GetInstanceInfo() returns a different 'difficulty' value for Scenarios?
(ref: http://wowprogramming.com/docs/api/GetInstanceInfo )
I think it does, but I can't test exactly what that value is at the moment. I know when I was testing challenge modes, GetInstanceInfo()'s difficulty was 8. Challenge modes and scenarios are kind of handled similarly in the code sometimes, so it's possible that scenarios are 8 as well, but they might be some other value too.

You can probably also use C_Scenario.IsInScenario() and C_Scenario.IsChallengeMode() in case the return values there aren't sufficient for whatever you're trying to do.