Core.SetActiveTimedFunctionEndTime
Sets the next End Time for the named Timed Function.
Description
All Timed Functions will calculate an End Time based on when they’ll next occur. Use this function to alter that timing for a given Timed Function.
Example Usage (C#)
//Setting the next End Time for a Timed Function
public bool Invoke() { double newEndTime = 15f;
bool success = _core.SetActiveTimedFunctionEndTime("TimedFunctionName", newEndTime);
return true;
}
Parameters
string |
methodName |
The name of the Method in SILVIA’s internal scripts to find. |
double |
newEndTime |
A double representing the new End Time for the 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.GetActiveTimedFunctionEndTime