Better error handling in 'Call a Lua Function' k2node

This commit is contained in:
2025-04-07 18:00:45 -04:00
parent d35125eb70
commit 865297331a
6 changed files with 90 additions and 29 deletions

View File

@@ -78,6 +78,7 @@ private:
static const FName InvokeOrProbePinName;
static const FName PlacePinName;
static const FName ExtraResultsPinName;
static const FName ErrorPinName;
/** Utility functions for manipulating pin names with prefixes **/
static bool IsPrefix(const UEdGraphPin *Pin, char Prefix);
@@ -88,6 +89,11 @@ private:
/** The lua function prototype, which must be saved as a property **/
UPROPERTY()
FString LuaFunctionPrototype;
/** Equal to the invoke-or-probe property **/
UPROPERTY()
FString InvokeOrProbe;
/** Tooltip text for this node. */
FText NodeTooltip;