Page 1 of 1

Are "globals" global?

Posted: Thu Nov 03, 2016 6:39 am
by apriori
Are vars in global[] global amongst all mods or each mod has got its own globals?

Re: Are "globals" global?

Posted: Thu Nov 03, 2016 6:50 am
by daniel34
Each mod has its own global. You are not able to access globals that other mods are using, but you also don't need to prefix your own globals as collisions can't happen.

Re: Are "globals" global?

Posted: Thu Nov 03, 2016 7:20 am
by apriori
daniel34 wrote:you also don't need to prefix your own globals as collisions can't happen
That's it, thanks. =)