Lab 6.2: Elevators using unreal engine 5
Create actors representing a lever and an elevator. When the player interacts with the lever, it should tell the elevator to move to the next floor. Elevators can visit two floors: if the elevator is currently on the bottom floor it moves up to the top floor, and vice versa. Extend your lever and elevator blueprints in the following ways:
Allow for multiple levers in the level: any lever should move the elevator.
Allow for multiple elevators in the level: any lever should move all elevators.
Make levers only tell a specific elevator to move. You can do this with an object reference.
Make levers pick a default elevator to move: if the object reference is not set, then the lever should tell the nearest elevator to move.