The Drone has some attributes to setup its initial state and its behavior during the game.
Determines the area around the center of the train in witch the drone can hover during the game. The X value represent the total length and the Y value represent the total width.
For example, if you set a value of X: 100, Y: 100 the drone will be able to hover around an area of ( -50, 50) coordinates in X and ( -50 , 50 ) coordinates in Y.
Actor reference to set the initial position and rotation of the Drone on begin play. Only works if IsOverTrain is set to false before the game begin.
Can be set with and example Actor like DroneWaypoint.
If is set to none and isOverTrain is set false the drone will stay at the same position on Begin Play.
Represent the height over the train center of the drone when drone is over the train.
Can be set as initial attribute or changed on runtime from blueprints.
bool that represent if drone is over the train or is in a concrete position.
If is set true before begin play the drone will start at train position, and if is set false will start at Initial Position.
At runtime this value can be read from blueprint to know the state of the drone.
Represent the state of the drone when is over the train. This attribute is not settable by user.
None: the drone is not over the train.
Moving: the drone is moving to a random position over the train.