“How do i assign objects from content browser to a variable using blueprints”. This seems to be a dumb question, but after all the documentation and internet info i’ve read i can’t find a solution pointing to what i need. I know i can drag and drop in most cases, but i am unable to drag and drop the actors into the player controller i am attempting to use. Here’s a screenshot of what i am attempting to link an actor to for movement. I am using the top down blueprint.
AV represents what i am attempting to set the variable as.
Inside your variable’s details tab, you can choose a variable type. You can manually search for your actor inside the drop down menu or you can type the name of your actor to find it.
I hope that this was the information that you were looking for.
Ya, that was what i was looking for but it seems it still doesn’t work, as i get this error as i was before. The other problem i have is it only seems to pick up blueprint actors not placed actors
“Error Accessed None ‘AV’ from node Simple Move to Location in blueprint TopDownController”
Is what i’m using the check what coords it reads the actor as and i’m getting 0,0,0, so it looks like its not even reading where the actor is on map.
If you select your variable in your variables list, notice that the Default Value is currently set to “None”. In the case of actors, you have to manually Set them via a Set node in your construction or event graph.
If your actor is placed in your level “from persistent level”. You can select it in your level then go in your level blueprint, right click and select Create Reference to"X".