I want to create a class of teleport blocks (if the player stand on it, he teleports to a location).
The locations are in the level Blue print, can I send them to the class?
this is the code:
of course it doesn’t compile now (teleport function I created doesn’t receive expected variables),
How can I send data from the level blueprint to the class? is it possible?
if not, how can I create a few instances of this class, where every instance gets different x,z,y values?