- Home /
Is it standard practice for game items to run multiple scripts?
Really simple question, I know. I'm in college for game design, working on a Final Project for a coding class, and I'm playing with items; weapons specifically.
So I was curious, is it standard practice for such items to run multiple scripts? For example, one standard script to hold stats/deal with interactions and damage, and should it be 'enchanted', would an additional script for said enchantment be added to the item, or some modification be made to the original?
(Again, not exactly asking how to do that, just what the 'norm' is in this case.)
Answer by jeebxoxo · May 04, 2014 at 06:00 AM
Yes, do it. You might find out you can write scripts that can work on different game objects -- which could save you lots of time later.
Awesome. That's all I needed to know. I'm just slightly paranoid about having 'too many' scripts running at once and causing lag.
Lack of experience = fear of unknown limitations. lol.