unreal.NiagaraExt_ScriptCompileInfo

class unreal.NiagaraExt_ScriptCompileInfo

Bases: StructBase

Compile information for a single script (e.g. SystemSpawn, EmitterUpdate, etc.) within a Niagara System.

C++ Source:

  • Plugin: Niagara

  • Module: NiagaraEditor

  • File: NiagaraExternalSystemEditorUtilities.h

Editor Properties: (see get_editor_property/set_editor_property)

  • compile_events (Array[NiagaraExt_CompileEvent]): [Read-Write] All compile events (errors, warnings, log messages) from the last compile of this script.

  • emitter_name (Name): [Read-Write] Name of the emitter that owns this script, or NAME_None for system-level scripts.

  • error_summary (str): [Read-Write] Error message string from the last compile attempt (empty if no error).

  • last_compile_status (NiagaraExt_ScriptCompileStatus): [Read-Write] Last known compile status of this script.

  • script_name (Name): [Read-Write] Script role name from ENiagaraScriptUsage (e.g. SystemSpawnScript, ParticleUpdateScript). Matches the ScriptName carried on FNiagaraExt_StackIssue::Location so compile events and stack issues can be cross-referenced by script. NAME_None if the usage could not be named.