Skip to content

Class ULaunchableScriptFunctionLibrary

Class ULaunchableScriptFunctionLibrary

  • Defined in File LaunchableScriptFunctionLibrary.h

Inheritance Relationships

Base Type

  • public UBlueprintFunctionLibrary
class ULaunchableScriptFunctionLibrary : public UBlueprintFunctionLibrary

Source: Source/Schola/Training/Public/TrainingUtils/LaunchableScriptFunctionLibrary.h

Dependencies: FLaunchableScript

Blueprint function library for launching external scripts.

Provides Blueprint-accessible functions for managing script execution.


Public Static Functions

SymbolDetails
LaunchScriptLaunches the script described by the LaunchableScript struct.
KillScriptKills the currently running script process.

LaunchScript

static inline void LaunchScript(FLaunchableScript &InScript)

Launches the script described by the LaunchableScript struct.

This function starts the script in a separate process and returns immediately. The script will continue running in the background.

Parameters

InScript – [inout] The script configuration to launch.

#DirectionNameTypeDescription
1InScriptFLaunchableScript &The script configuration to launch.

Attributes: inline, static

Source: Source/Schola/Training/Public/TrainingUtils/LaunchableScriptFunctionLibrary.h

KillScript

static inline bool KillScript(FLaunchableScript &InScript)

Kills the currently running script process.

This function terminates the running script process and cleans up resources.

Parameters

InScript – [inout] The script instance whose process should be terminated.

Returns:

True if the process was successfully terminated or wasn’t running, false on error.

#DirectionNameTypeDescription
1InScriptFLaunchableScript &The script instance whose process should be terminated.

Attributes: inline, static

Source: Source/Schola/Training/Public/TrainingUtils/LaunchableScriptFunctionLibrary.h