- Joined
- Oct 17, 2007
- Messages
- 547
Im not sure if this is the right section for this, but i couldnt find a request section for JASS code.
Im basically making a map with a bunch of custom skills, and i need someone to write a trigger to transfer all the skills the original unit has to the replaced unit.
For example: Unit footman has X, Y, Z skills
When it reaches a certain lv it changes into a knight and still have all the skill the previous version has.
Note: The skills are added by trigger and are all in a skill book, each unit knows a variety of different skills as they lv so they cannot be add to the object editor. Units can learn as much as 4 skill book full of skills (about 44 skills). Some skills do not transfer, so there should be an exception list somewhere on the code so i can add skill id.
And of course i will add rep to show appreciation for all the help.
Im basically making a map with a bunch of custom skills, and i need someone to write a trigger to transfer all the skills the original unit has to the replaced unit.
For example: Unit footman has X, Y, Z skills
When it reaches a certain lv it changes into a knight and still have all the skill the previous version has.
Note: The skills are added by trigger and are all in a skill book, each unit knows a variety of different skills as they lv so they cannot be add to the object editor. Units can learn as much as 4 skill book full of skills (about 44 skills). Some skills do not transfer, so there should be an exception list somewhere on the code so i can add skill id.
And of course i will add rep to show appreciation for all the help.