Topic category: Advanced modding
Please correct me if I am wrong here,
I think the local variables are only used within a procedure call, just like variables defined in the scope of a Java method, as an example.
and Global variables are like static variables shared by the whole mod package....? say you create a block that does something, and when you use a global variable in the procedures, multiple instances of the that block will use the same value. well, this is whats happening with my current project....
But what i want is something that only shares within the block instance. is there something like this?