Jump to content

Recommended Posts

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");
	}
}

 

Link to comment
https://wrobot.eu/forums/topic/3730-add-scenario-support/
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...