Arrays in the Battlefield 2042 Portal Logic Editor Explained! - Introducing Arrays Part 1

Subscribers:
1,300
Published on ● Video Link: https://www.youtube.com/watch?v=HafW27MOv1o



Battlefield 2042
Game:
Category:
Vlog
Duration: 33:01
1,194 views
52


I know almost noone reads these things but I do write one for every video lol.

So, first, sorry about the big gap between videos. Things happened. Time passed. Plans got put to one side. Anyway, I finally finished this video last night (its just been waiting for a final edit..) and here it is. Hopefully this gives you a decent run down of how to get started with arrays. A couple of points I'd probably make about this video if you are reading that I think might be important.

First, it is a bit of an intermediate video. You can grasp this without too much experience but I have made a few assumptions about what you might already know about the logic editor (and I think that if you are looking at arrays you have probably moved past the basics). If you are not confident with the basics though you should probably watch one of my earlier videos first, just to familiarise yourself with it - a good place to start is probably here:

https://youtu.be/odXpQlGvq8c

This video introduced arrays, working through how to create your own, get and set values within them and iterate through them. It also looks at how you can reduce complex If/Selection structures in some cases by replacing multiple variables with a single array.

Next, a little side note for programmers. As this is a short video and I need to aim for total non programmers to understand, I have taken a few quick short cuts to help with visualisation. I think visualising an array as a table is a good place to start and to help beginners see in their mind what an array 'looks' like. Of course with my students we will talk about the structure of an array in memory, as we go on to discuss 2D, 3D arrays and how to best manipulate data in those. But clearly, here that is all rather unhelpful.

Second, I really think that arrays in Portal are more like lists. An array is usually fixed in size, with the size being stated when it is created. We shouldn't really be able to 'append' items to an array. But of course here we are really working with a list, which we can append to and remove from to make the structure grow and shrink as needed. I mean Python doesn't have arrays as such, but uses lists to perform the same function. It's not really a topic for here, more of an observation and point of clarification I guess.

Finally, all I really want is for you to watch the videos, press the like button and subscribe. I'm just really greatful for the support! However, if you want to give me a little more support while I am on the super long journey to 1000 subscribers then I really do love coffee (don't we all) and I've opened a little donation site to keep me chugging along. I'd be over the moon if you wanted to donate to my coffee fund and you can do just that at:

https://ko-fi.com/battlefielddad

Let me know how you get on with the challenges!

Chapters:
00:00 - Introduction
02:25 - What's the problem?
07:30 - What is an array?
09:25 - How to create an array in the Portal logic editor
16:22 - Using arrays in the Portal logic editor (examples)
20:37 - Iterating through an array
24:48 - Setting and getting items from an array
28:13 - Closing thoughts and challenges for you!




Other Videos By Battlefield Dad


2022-08-05Kaleidoscope Map Rework Battlefield 2042 - Original Vs Reworked Comparison Update 1.2
2022-08-05Thursday Night FoAm community event!
2022-08-05Thursday Night FoAm community event!
2022-08-01Play Domination on Battlefield 2042 [Part 2] - Battlefield Portal Rules Editor
2022-07-29Play Domination on Battlefield 2042 [Part 1] - Battlefield Portal Rules Editor
2022-07-10Find the best weapon and attachment setup with this simple tool - Battlefield 2042 Portal
2022-07-07How to make your OWN custom vehicle Superiority Mode - Battlefield 2042 Portal Rules Editor
2022-07-06Battefield 2042 Update 1.1 All the game changing details in the Portal Editor!
2022-06-28Boom, Shake Shake Shake the Room! #battlefield2042 C5 is my new primary weapon 😂
2022-06-26This is why Battlefield 2042 still has NO server browser..!
2022-06-21Arrays in the Battlefield 2042 Portal Logic Editor Explained! - Introducing Arrays Part 1
2022-06-16Battlefield Exposure TNF 😁
2022-06-12Battlefield Exposure First Play 😁
2022-05-03That one time it goes right…!! Battlefield V
2022-05-03These are the new blocks in Portal update #4 - Battlefield 2042 Rules Editor (IsPlayerValid)
2022-04-24Hit reg stacking still happening after update #4 - Battlefield 2042 Portal
2022-04-24New features for Battlefield 2042 Portal in Update #4 - Battlefield 2042 Rules Editor
2022-04-21Fix experience has validation errors in Battlefield 2042 Rules Editor - This week in Portal
2022-04-10This week in Battlefield - my Bounty Hunter game mode was featured! Battlefield 2042 Rules Editor
2022-03-26Rainbow 6 Siege Secure Area in Battlefield 2042?? (Part 2) - Battlefield 2042 Portal Rules Editor
2022-03-20Rainbow 6 Siege Secure Area in Battlefield 2042?? (Part 1) - Battlefield 2042 Portal Rules Editor



Tags:
portal arrays explained
arrays in portal
portal arrays
arrays portal
2042 logic editor
battlefield 2042 logic editor
battlefield portal
logic editor battlefield
logic editor guide
logic editor portal
logic editor tutorial
portal rules editor
portal rules editor tutorial
battlefield 2042 rules editor
bf2042 rules editor
battlefield portal rules editor guide
portal experience code
battlefield 2042 new content
bf2042 news
battlefield 2042 news



Other Statistics

Battlefield 2042 Statistics For Battlefield Dad

At this time, Battlefield Dad has 84,930 views for Battlefield 2042 spread across 73 videos. His channel uploaded over 1 day worth of Battlefield 2042 videos, roughly 39.77% of the content that Battlefield Dad has uploaded to YouTube.