Unreal Engine 5 Basics - Structs, and how to use them!

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 28

  • @TheTruthIsGonnaHurt
    @TheTruthIsGonnaHurt Рік тому +3

    Clean and efficient tutorial, thank you so much, liked and subscribed!

  • @SpaceBear1987
    @SpaceBear1987 28 днів тому

    I love it when tutorials do the thing before doing the thing to not teach us about the thing at the start.

  • @shanecobains
    @shanecobains 9 місяців тому +11

    That's fucking great, but you missed the most important step. How do you make one?

    • @zackaccount
      @zackaccount 15 днів тому

      In your content browser, right-click, select Blueprints, then Structure

  • @Randoman420Gaming-sf7zi
    @Randoman420Gaming-sf7zi 3 місяці тому

    easy to understand and not boring to watch

  • @thefamousunclemusic
    @thefamousunclemusic 9 місяців тому

    Wonderful thank you so much!!

  • @bryanwiitala8854
    @bryanwiitala8854 27 днів тому

    You went on a break, came back and left out what the node is your connecting to.

  • @spectrablaze3760
    @spectrablaze3760 Місяць тому

    i cant even split mine and i have no idea why, never had this problem before

  • @WestinsWorldStudio
    @WestinsWorldStudio 9 місяців тому

    Very helpful thank you!

  • @Yhivu
    @Yhivu Рік тому

    2 minutes in and my questions were answered, thank you for this video, now i just need to figure out how to hide text for false booleans, and only show the true boolean text.

    • @Yhivu
      @Yhivu Рік тому

      and got it already

  • @adrianlikel8098
    @adrianlikel8098 3 місяці тому

    Question!
    Lets say I want to have a struct for each level - same variable type. Should I Split it into "Rocks Level 1" and "Rocks Level 2"
    Or would it be more beneficia to have just "Rocks Level" as the struct itself and then make the "Levels" as Nested?

    • @adrianlikel8098
      @adrianlikel8098 3 місяці тому

      A little more context. I want the player to be able to pick up rocks, and when they do, the rocks will go into this struct. Should it then go into different structs or the same struct with a lot of nesting?

  • @s.v.midnigth
    @s.v.midnigth 9 місяців тому

    Great tutorial. How i can set for all structures members bool with for each loop? I'm tried but have branch marcos error.

  • @Frazer213
    @Frazer213 Рік тому +1

    if i have 16 arrays the hold 8 paper tile maps each, how do i make a struct that holds those 16 arrays? Also awesome job showing how structs work.

    • @BurrowGames
      @BurrowGames  Рік тому

      You can create a struct which has one variable which is the array item you've created. I use a similar "array within an array" item in my Project Dojo, for creature storage

  • @pietpanzerpanzer5335
    @pietpanzerpanzer5335 6 місяців тому

    Man digger den mist vergess ich aber auch jedes mal wieder ey, danke

  • @stephenmurya
    @stephenmurya Рік тому +16

    You never for once mentioned what a struct is or what they are used for, only how to use them. This is not useful/helpful to beginners like me

    • @Hellisfear
      @Hellisfear 11 місяців тому

      This is where knowing actual programming like c++ would be useful to you.

    • @stephenmurya
      @stephenmurya 11 місяців тому +8

      ​@@HellisfearI have an idea...
      What if the knowledgeable instructor who created the video just teaches us what exactly a struct is? Wouldn't hurt anyone!
      Why do I have to learn cpp because I want to know what a struct is? What are these video tutorials for?

    • @Hellisfear
      @Hellisfear 11 місяців тому

      @@stephenmurya Do you not understand that blueprints are heavily influenced by c++?
      Everything from functions, to events, if statements, variables and forloops is a direct reference to programming and c++ specifically. If you want to know what structs are specifically or what theyre for, just google it and you'll find what you need. What the uploaded described is reslly all thats neccesary.

    • @tbrown52589
      @tbrown52589 11 місяців тому +9

      it's just a collection of variables. If you're making an RPG for example, a strut would be a great way to store all the character combat stats like attack, crit and health. You store one variable of that strut type on any character you want to apply those stats to and you can break anywhere you need to for easy clean access. It works well with interfaces and data tables/assets as well.

    • @stephenmurya
      @stephenmurya 11 місяців тому

      @@tbrown52589 Thank you ❤️

  • @juaecheverria0
    @juaecheverria0 10 місяців тому +1

    Great, but you never show how to use it in another bp... Useless tutorial.

    • @BurrowGames
      @BurrowGames  10 місяців тому +8

      Sorry to hear that. What exactly do you mean use it in another blueprint? A struct is just a variable type, so it depends entirely on how you want to use them.
      In another blueprint just create a new variable of that struct and use it same as any other variable, be it a float, integer or bool.