DELETED, NO LONGER RELEVANT

DELETED

Const is less so a technical specification and more of a developer guideline (at least with respects to C++). It’s not that the editor “thinks the code won’t work,” it’s that the game developers said it shouldn’t.

Though I’m not sure how they even have const in Blueprints… maybe a custom K2 node or something?
With that said, it’s trivial in C++. If that Target object class was made in C++, you can make a BlueprintCallable function and use const_cast<>().
I’m not familiar with modding that game, so I’m not sure what those types would be or how much was made in Blueprint vs C++.
The code would be something along the lines of this, but UObject being whatever type Target ended up being:

	UFUNCTION(BlueprintCallable)
	static void SetNameInTarget( const UObject* InTarget, FText Name)
	{
		const_cast<UObject*>(InTarget)->Name = Name;
	}
1 Like