XXon 31 Posted November 29, 2022 My script uses a global variable, just within the script itself (a wizard pet). I want to make another pet, very similar, it has the same variable setup to keep track of its targets, only now, because they are global, the two pets overwrite each other. I see the setting for module variable vs global variable, is that what I need and how does it work, please? I find no info on modules. Or what would be the correct, solution, if that is not it. Thanks Share this post Link to post Share on other sites
Oliver Hope 261 Posted November 30, 2022 The best way to do this imo is to use an entity storage or game logic storage. You can create variables and instructions inside here. then you assign the storage to your wizard, and other pets. all these variables and instructions will be unique for each pet 2 Share this post Link to post Share on other sites
XXon 31 Posted November 30, 2022 oh I see. I did not know that existed. Thank you again! Share this post Link to post Share on other sites