I've been having a problem lately with my chosen system of skill gathering within the game I'm currently making. What I wanted was that characters gather Skill Points, and trade them in at a trainer for "training" in the form of a Skill Learning Object. My initial problem was that XP had no way to make an item that can teach any actor a skill with one object. I would have had to code in one object and one common event for EACH skill for EACH person.
So.. after three days of intensive Common Event looping, I came up with this. It's still got a small snafu in it where if P1 has the Skill Points to learn the skill and hasn't learned the skill to be taught yet the skill item will teach it to him instead of the proper player. I honestly don't know how to overcome this, maybe someone out there will be able to... Either way, the download is in the spoiler.
Warning however, the Common Event is rather long.... and if you add more Actors, you have to code more conditional branches... which could be a pain in the arse... Either way, if you solve the problem I've been having, Please post it back on here... I'd really like to have this system be in my game. I worked damn hard on it to begin with lol.
So.. after three days of intensive Common Event looping, I came up with this. It's still got a small snafu in it where if P1 has the Skill Points to learn the skill and hasn't learned the skill to be taught yet the skill item will teach it to him instead of the proper player. I honestly don't know how to overcome this, maybe someone out there will be able to... Either way, the download is in the spoiler.
Warning however, the Common Event is rather long.... and if you add more Actors, you have to code more conditional branches... which could be a pain in the arse... Either way, if you solve the problem I've been having, Please post it back on here... I'd really like to have this system be in my game. I worked damn hard on it to begin with lol.