August 30, 20169 yr something like that public static class Scenario { public static bool IsStepComplete(int step) { return (Lua.LuaDoString("local _, _, numCriteria = C_Scenario.GetStepInfo(); if not numCriteria or numCriteria == 0 then completedObj = 'true'; return; end; local critID; _, _, completedObj,_,_,_,_,_,critID = C_Scenario.GetCriteriaInfo("+step.ToString()+"); ", "completedObj").ToLower() == "true"); } }
Create an account or sign in to comment