Mark an object
Hi, I was wondering if there is any way i can create something using blueprints that will allow me to mark an object like a cube for teleportation (and remove the mark again) using ingame keyboard inputs
asked Oct 20 '18 at 12:48 AM in Using UE4
And that case I would just create an actor blueprint very basic actor doesn't have any other components doesn't have to be visible, and when you want to place a marker, you spawn that actor at that location. Also, when you spawn it, set tags on it so that you make an array of size 1 which has a tag of one, two, three, or four. Then, when you want to teleport to it, do a get all actors with tag, using one, two, three, or four. The Returned array should contain only the marker you want, as long as you destroy the one that has the matching tag each time you create a new one or teleported to the new location.
answered Oct 21 '18 at 12:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here