How can I send a variable (VectorArray) from the Level BluePrint to a Pawns' Actor Component BP?
My setup looks like this:
I have successfully dispatched a vector-array variable to my Level Blueprint. Now I need to send the same variable from the Level Blueprint to an ActorComponentBP that is attached to a Pawn Actor.
Alternatively I could send it directly to the Pawn BluePrint instead of the attached ActorComponentBP. I could also access the same LevelBP-Variable from within the Actor Component BP. ..whatever works.
My latest attempt includes a Custom Function within the ActorComponentBP that is called from the level BP. I'm not sure what to connect to the object input of the caller node though! (It does not seem to accept anything I try to plug in.) I think that might be my problem.
I have read about and tried many things but so far nothing worked. What am I missing?
asked May 11 '15 at 06:50 AM in Blueprint Scripting
Make a Variable in your Actor BP to store the Data
In Level BP. from Event Begin Play, "Get All Actors Of Class" - Choose your Player BP, "GET", "Cast to Player BP" (This should come up when you start typing CAST if you choose your Player BP ealier), then Promote to Variable.
Drag the Variable, from that, call your Variable in your character BP - SET, and set it with the Desired Variable. Example of cast below, I am just casting to Teleport BP instead in picture.
answered May 11 '15 at 08:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here