In this video we’re going to make an elevator which moves the player up and down. In the process, we’ll learn what dynamic references are, what arrays are, and how to use these two things to create a switch which turns on a random elevator in your world-- kinda roguelike-y style :)
FOR HOMEWORK: here’s an extra simple exercise you can try if you want!
Give your elevator a public variable called ElevatorID that is of type integer. Instead of having your switch turn on a random elevator, give it a unique SwitchID variable of its own; then have it loop through all the elevators and check their ElevatorID property until it finds the elevator it “belongs“ with. In this way, you can dynamically pair elevators with switches at runtime WITHOUT having to assign them all in the editor!
MORE LEARNING
To learn more about arrays, I like this video:
To learn more about loops, I like this video:
14 views
22
4
1 month ago 00:12:10 1
FireDragonGameStudio - AR Indoor Navigation with Unreal Engine 5.4
1 month ago 00:02:25 1
Diablo 2 - Act 1 | AI Movie Trailer | Cinematic
1 month ago 00:05:25 1
Donald Trump vs Kamala Harris. Epic Rap Battles of History
1 month ago 00:17:17 7
Easy Houdini: Jam2Go Datamoshing in Copernicus
1 month ago 00:05:15 31
The Witcher 4 Concept Gameplay Unreal Engine Lumen Nanite
1 month ago 00:45:37 1
Проклятие Bethesda. Creation Engine
1 month ago 00:10:32 11
Невидимость стен для игр сверху | Top Down Invisible Walls | Уроки Unreal Engine 5
1 month ago 00:34:30 1
TRENCH TALES Exclusive Alpha Demo | New SURVIVAL HORROR like WWII Resident Evil in Unreal Engine 5
1 month ago 00:01:59 1
Knight Girl
1 month ago 00:00:00 2
Видосы и Clive Barker’s Undying / Жирофон на Киберпанк
1 month ago 00:01:46 1
Wild Assault Official Trailer: Assemble
1 month ago 00:15:55 1
Israël : la France arme-t-elle un génocide ? 🔎 En OFF avec Lumi
1 month ago 00:16:58 1
« Ne parlez pas de VIOLENCES POLICIÈRES ! » 🔎 En OFF avec Lumi
1 month ago 00:00:38 1
Counter-Strike 1.6 Unreal Engine 5
1 month ago 00:00:00 1
ПРОХОЖДЕНИЕ SILENT HILL 2 REMAKE - Сайлент Хилл 2 на PS5 #5
1 month ago 00:09:24 1
Buildify - бесплатный аддон для архитектуры!
1 month ago 00:10:32 15
Забудь про сложные движки — Unity6 сделает из тебя разработчика игр!!!
1 month ago 00:00:00 1
UNTIL DAWN REMAKE Прохождение # 3 ᐅ Ремейк Дожить до рассвета. Стрим ✔️
1 month ago 00:06:27 8
Как сделать персонажа прозрачным | Player Occlusion | Уроки Unreal Engine