Arma Reforger | Scripting Tutorial | Random Supply Boxes

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

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

  • @dauslan3339
    @dauslan3339 2 года назад

    thank you so much for cover this tutorial, this is what i have been waiting for.

  • @Slinky
    @Slinky 2 года назад +1

    Thanks for your tutorials, they're super helpful! 😎

  • @metacabrera1997
    @metacabrera1997 4 месяца назад

    Is there a way to create a universal arsenal? I would like to try all the objects in the game including the mods

  • @pacozalky721
    @pacozalky721 8 месяцев назад +1

    You should only name your code files with prefix RS_. The prefix/tag SCR_ is reserved for Bohemia Developers.

    • @_Zipper_
      @_Zipper_ 3 месяца назад

      Why do we need to call a component class when we are only modifying the base class?

  • @aderftard
    @aderftard 2 года назад

    Thanks for the work you put in on these tutorials. I don't believe you intended to generate a new random "GetNumberToSpawn" for each iteration of the "for" loop that fills the arsenal. I think you meant to call this method once before entering the loop, then use the same value in the conditional comparison for each incremented value of "i".

    • @rabid-squirrel
      @rabid-squirrel  2 года назад

      That's a good point, nice catch.
      Correct implementation probably should be:
      int numToSpawn = GetNumberToSpawn(item);
      for (int i = 1; i

    • @aderftard
      @aderftard 2 года назад +2

      @@rabid-squirrel Well, I'm an old retired guy with little to do except watch videos of younger folks making cool things, so I have plenty of time to comb through helpful tutorials and get triggered by other people's code :)

  • @Rcsev-kb2lu
    @Rcsev-kb2lu 2 года назад

    Great video and do you happen to know how to make the guns appear on the gun racks when placing them?

  • @the_hateful_n8383
    @the_hateful_n8383 Год назад

    Custom conflict mode tutorial would be dope af, just sayin.

  • @mrtreendy2683
    @mrtreendy2683 Год назад

    Hey, is it possible to add components to entities via script?

  • @Stoermy_
    @Stoermy_ Год назад

    At 25:09 it doesnt show up in the list? But its a very good tut :)

  • @severgun
    @severgun Месяц назад

    Why not to set Math.Random 0 to 100 and remove equal from comparison? For what purpose this confusing 0.001 introduced?

    • @rabid-squirrel
      @rabid-squirrel  Месяц назад

      ¯\_(ツ)_/¯
      I think this is a potAto potaaato situation :)
      If you find the logic less confusing with 0 to 100 then you're welcome to do it that way. I generally prefer ">=" more so than ">" is most scenarios, that's just the style I code in.

  • @invert6actual585
    @invert6actual585 4 месяца назад

    can you update this tutorial as they changed a lot of stuff in the scripts.

    • @rabid-squirrel
      @rabid-squirrel  4 месяца назад +1

      I'm afraid I'm not really working in the Reforger space right now, I have a bunch of other projects I'm busy with... I'll maybe get back into it in a few months or when Arma 4 is on the Horizon.

    • @invert6actual585
      @invert6actual585 4 месяца назад +1

      @@rabid-squirrel fair enough though would you recommend learning C sharp or C++ to better understand the enforce script?

  • @holthuizenoemoet591
    @holthuizenoemoet591 2 года назад

    is there allready a coding references for enfusion script?

    • @rabid-squirrel
      @rabid-squirrel  2 года назад

      Could you be more specific with regards to "coding references"?