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

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 28

  • @TheTruthIsGonnaHurt
    @TheTruthIsGonnaHurt Год назад +3

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

  • @SpaceBear1987
    @SpaceBear1987 25 дней назад

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

  • @shanecobains
    @shanecobains 8 месяцев назад +11

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

    • @zackaccount
      @zackaccount 12 дней назад

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

  • @Randoman420Gaming-sf7zi
    @Randoman420Gaming-sf7zi 3 месяца назад

    easy to understand and not boring to watch

  • @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.

  • @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?

  • @thefamousunclemusic
    @thefamousunclemusic 9 месяцев назад

    Wonderful thank you so much!!

  • @WestinsWorldStudio
    @WestinsWorldStudio 9 месяцев назад

    Very helpful thank you!

  • @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

  • @spectrablaze3760
    @spectrablaze3760 28 дней назад

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

  • @bryanwiitala8854
    @bryanwiitala8854 24 дня назад

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

  • @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

  • @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.