ArticyScriptConditionCallScript Method
Calls the underlying condition script.
Definition
Namespace: Articy.Unity
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
true if the condition passed, false if the condition evaluated to be invalid.
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
C#
public bool CallScript(
IBaseScriptMethodProvider aMethodProvider = null,
IGlobalVariables aVariables = null
)Parameters
- aMethodProvider IBaseScriptMethodProvider (Optional)
- The method provider.
- aVariables IGlobalVariables (Optional)
- A global variables instance, if null is passed the default storage found in the database will be used. See DefaultGlobalVariables.
Return Value
Booleantrue if the condition passed, false if the condition evaluated to be invalid.
Remarks
You can use this to call a script manually. Most of the scripts found in the flow are called automatically when necessary by ArticyFlowPlayer but scripts in templates for example must be called manually.