How does Get Class work?

I’ve been using the get class mode to turn an object reference into a class reference but when I attempt to print the class name as a string it returns a different name to the original. (For reference I use an object called base node (child of object class) and a child of base mode named example node but when fed through the get class and then get display name bps it returns as “blueprint 1” and “blueprint 2). Is this caused by a parenting problem or am I using the wrong code?

  • for a parent + child:

image

  • this:

  • correctly prints:

image


Is this not what you’re experiencing / expecting?

1 Like

Yeah when I use that same code it returns with “blueprint”

For Reference:

Well, this is quite different here. The constructions clearly fails - as in the worrying yet helpful message. Seems you never specified class or outer object. Is the message related to what is going on?

Could you clarify what we’re really doing? As in, how / where / when the objects get constructed?

1 Like

at the moment I am only printing the string to prove that the objects exist. the fail notif comes from the spawn from class node that I have removed for the sake of showing the code that I require but I essentially need all of the items in the Owned Spells array to spawn so that I can reference them in other code when the game starts.

(the output is from bottom to top)

1 Like

ah, so when I use a pre made array it will cause it to say “blueprint”. Thanks RecourseDesign and Everynone!

1 Like