• Hey! Register here to create your account, engage with the community, and talk about what is new!

How to give players random items

stinkey

Forum adept
Joined
Sep 8, 2020
Messages
225
Reaction score
74
You should have used local variables. Also, considering this is a tutorial, better variable naming (ie changing the variable name to "random item") would definitely help the viewer actually understand what is happening.
 

MyDad_Is_Awesome

New member
Joined
Jul 2, 2021
Messages
2
Reaction score
0
You should have used local variables. Also, considering this is a tutorial, better variable naming (ie changing the variable name to "random item") would definitely help the viewer actually understand what is happening.
Ty for the suggestion, I'll remake the video. The only reason I made the video was to test how well resolve (editing software) runs on my new pc. (:
 

SamMan_

Forum adept
Joined
Sep 6, 2020
Messages
120
Reaction score
72
You should have used local variables. Also, considering this is a tutorial, better variable naming (ie changing the variable name to "random item") would definitely help the viewer actually understand what is happening.
i dont think in this case there's any particular reason here to use a local variable?
 

bumpy

Forum adept
Overlord
Joined
Oct 6, 2020
Messages
113
Reaction score
35
You should have used local variables. Also, considering this is a tutorial, better variable naming (ie changing the variable name to "random item") would definitely help the viewer actually understand what is happening.
The tutorial is also quite fast-paced, and considering the concept of the video is incredibly basic; generally, newer players who don't fully understand the coding system would watch it.
 

stinkey

Forum adept
Joined
Sep 8, 2020
Messages
225
Reaction score
74
i dont think in this case there's any particular reason here to use a local variable?
edge case scenarios where two players execute code at the same time and the variables are swapped
this isnt a great example of where that could happen but given the vague variable name (could be used elsewhere) and just general good practice it would be good to make it a local variable
 
Top Bottom