camelot10 155 Posted August 30, 2016 Share Posted August 30, 2016 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"); } } eeny 1 Link to comment https://wrobot.eu/forums/topic/3730-add-scenario-support/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now