Raise Error node now actually prints its own error message

This commit is contained in:
2024-11-13 18:18:32 -05:00
parent ce0a06c51c
commit eff7519d5d
3 changed files with 73 additions and 52 deletions

View File

@@ -41,7 +41,7 @@ class UK2Node_RaiseError : public UK2Node
//~ End UEdGraphNode Interface.
//~ Begin UK2Node Interface.
virtual bool IsNodePure() const override { return true; }
virtual bool IsNodePure() const override { return false; }
virtual void PostReconstructNode() override;
virtual bool NodeCausesStructuralBlueprintChange() const override { return true; }
virtual void ExpandNode(class FKismetCompilerContext& CompilerContext, UEdGraph* SourceGraph) override;
@@ -62,7 +62,7 @@ private:
private:
/** When adding arguments to the node, their names are placed here and are generated as pins during construction */
UPROPERTY()
TArray<FName> PinNames;
TArray<FString> PinNames;
/** Tooltip text for this node. */
FText NodeTooltip;