Need help understanding which code gets fired first
The question is pretty vague, I hope I can explain this.
My issue is this: I spawn an actor, and set it in a variable. However, even though the custom event which sets the variable plays before a print string, the print string will print "none". However, if I do it again, the print string will give me previously spawned actor.
How do I get the variable to get accessed the first time?
Here is a screenshot. If I need to explain further, just ask:
asked May 11 '15 at 12:11 AM in Blueprint Scripting
You could use "Spawn Actor from Class".
In this case you have an output that you can use for "Equip Actor" Print String. It should work.
If you need the network thing, you can make a "Switch Has authority".
Maybe that helps. If you need a BP example, tell me :D
answered May 11 '15 at 02:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here