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 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 :)
¯\_(ツ)_/¯ 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.
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.
thank you so much for cover this tutorial, this is what i have been waiting for.
Thanks for your tutorials, they're super helpful! 😎
Is there a way to create a universal arsenal? I would like to try all the objects in the game including the mods
You should only name your code files with prefix RS_. The prefix/tag SCR_ is reserved for Bohemia Developers.
Why do we need to call a component class when we are only modifying the base class?
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".
That's a good point, nice catch.
Correct implementation probably should be:
int numToSpawn = GetNumberToSpawn(item);
for (int i = 1; i
@@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 :)
Great video and do you happen to know how to make the guns appear on the gun racks when placing them?
Custom conflict mode tutorial would be dope af, just sayin.
Hey, is it possible to add components to entities via script?
At 25:09 it doesnt show up in the list? But its a very good tut :)
Why not to set Math.Random 0 to 100 and remove equal from comparison? For what purpose this confusing 0.001 introduced?
¯\_(ツ)_/¯
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.
can you update this tutorial as they changed a lot of stuff in the scripts.
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.
@@rabid-squirrel fair enough though would you recommend learning C sharp or C++ to better understand the enforce script?
is there allready a coding references for enfusion script?
Could you be more specific with regards to "coding references"?