Lua for MA3 Ep 8 - Conditional Loops
Автор: From Dark To Light
Загружено: 2025-02-14
Просмотров: 289
In this video we're going to be going over the two types of conditional loops and how to best use each to your advantage. After demonstrating the problem their existence solves, I'll thoroughly cover all the nuances to how they work and, of course, show you some fantastic examples you'll be able to copy and modify later too!
I'm using GrandMA3 OnPC version 2.1.1.5 and Lua 5.1 in this video.
Here's the link to today's file on GitHub - https://github.com/DeeeLight/FromDark...
Be sure to check out the rest of the series and don't forget to subscribe so you can get notified when I post the next one! Happy lighting!
Playlist - • Lua For GrandMA3 Tutorials
Join my Discord server for Lua for GrandMA3 users here - / discord
Find the transcript of this video here - https://fromdarktolighttutorials.blog...
"While you have the light, believe in the light, that you may become sons of light." - John 12: 36
Chapters
0:00 Intro
0:34 Types of Loops
0:48 Reviewing Conditional Statements
1:00 Frustration with If Statements
3:47 Why Not to Use a For Loop
4:42 The Magical While Loop
5:45 Explaining the While Loop
6:50 Alternative - Repeat Loop
8:33 Comment on A_Art Plugin
9:10 Running and Explaining the Code
10:13 Real-World Example
11:35 Explaining the Example
14:05 Reason for Using a Conditional Loop
15:07 Switching to a Repeat Loop
15:57 Comparison Between While and Repeat
16:12 Outro
Background Music:
Void Edge - Lesion X / lesionxbeats
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://www.audiolibrary.com.co/lesio...
Music promoted by Audio Library • Void Edge – Lesion X (No Copyright Music)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: