No "Expose on Spawn" option for 'class' variables
I'm trying to pass in an array of actor classes into a blueprinted actor in its construction script so that it can later spawn objects from those classes, but I noticed that "class" type variables don't have a "Expose on Spawn" option, therefore I cannot pass in the array of classes I need when spawning this actor. Why can't "class" variables be exposed on spawn?
(Note: I noticed "text" variables also don't have this option)
asked Sep 28 '14 at 07:04 AM in Blueprint Scripting
Oh, odd, I just discovered that a variable that holds classes is automatically exposed on spawn if marked as "Editable". Slightly out of the norm and not obvious, but it solves my problem.
answered Sep 28 '14 at 07:21 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here