Core.SetActiveTimedFunctionVariability

Sets the Minimum Period and Period values for Variable Timed Functions.

Description

Variable Timed Functions recur at an interval somewhere between Minimum Period and Period, use this function to change those ranges.

Example Usage (C#)


//Setting a new Time Range for a Variable Timed Function

public bool Invoke() {
double minPeriod = 10f, period = 20f; bool success =
_core.SetActiveTimedFunctionVariability("TimedFunctionName", minPeriod, period);
return true;
}

Parameters

string

methodName

The name of the Method in SILVIA’s internal scripts to find.

double

minPeriod

The new Minimum Period value for the Variable Timed Function, in seconds.

double

period

The new Period value for the Variable Timed Function, in seconds.

Returns

A bool representing the success of the operation. Returns false if no Timed Function found under that name.

See Also

  • Core.AddVariableTimedFunction