TomcaT
(TomcaT)
April 3, 2024, 2:32pm
1
Anyone know what the Kismet class name is for Math Expressions?
I go into the BaseEditorPerProjectUserSettings and customize the blueprint shortcuts:
I’d love to add one for this since I’d like to use it more. But I can’t find any references to what it’s K2Node name is, and Math Expression just crashes the engine instantly.
Should be K2Node_MathExpression
TomcaT
(TomcaT)
April 3, 2024, 7:32pm
3
When I try that it just hard crashes when any blueprint is opened.
Ah that’s a shame. The code seems to try to get the name of the node for the input command. For this it calls GetNodeTitle
on the ClassDefaultObject (see https://github.com/EpicGames/UnrealEngine/blob/072300df18a94f18077ca20a14224b5d99fee872/Engine/Source/Editor/Kismet/Private/BlueprintEditorCommands.cpp#L351 ). But unfortunately for UK2Node_MathExpression
this calls FBlueprintEditorUtils::FindBlueprintForNodeChecked
which fails the check, since the CDO isn’t actually part of any specific Blueprint.
TomcaT
(TomcaT)
April 4, 2024, 10:37am
5
Ah shame, well thanks for the help anyways!