How does UObject->Rename() work?
I'm trying to create a simple blueprint function to allow actors to be renamed.
I'm trying to use UObject->Rename but I'm not sure how it works, I've tried ActorPointer->Rename(FStringName), I think I might need to define the other parameters, but I'm not sure what they should be.
asked Apr 01 '14 at 03:51 AM in C++ Programming
Alright, so I figured it out, you use (Relevant AActor*)->GetOuter() for the outer parameter and REN_None or something (Look in the definition thing) for the 3rd parameter. This doesn't, however, change the display name of the object, but it works well enough for me.
answered Apr 04 '14 at 12:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here