I've found and had zeldarules verify this that there is a problem with learn abilities manipulation of their points threw catalog triggers.
On the current map I'm making, I have lets say 9 heroes each with the same learn ability called "Mutations." How I have the map setup is that within this learn ability there is 7 mutations. The point total is saved into a bank and array value as well as the individual mutations themselves.
How I had it setup originally was the level of each mutation and the total points would xfer from each hero that you had. So they all shared this ability globally between each player.
The levels of each one you can transfer fine. You can even load the total as well upon MAP load only.
The learn ability has a hardcoded feature that subtracts -X for each time you've learned something from it.
What this means is you can set the total threw a catalog to let's say 5. Now it will take into account each time you've learned something from it and subtract X in it's place. So even though you set the total to 5, and let's say you've clicked to learn 2 things, it will set the total to 3.
So if your trying to share a learn ability between multiple heroes, be forewarned that it won't work. It's lame :(
Not sure I understand. What exactly is the problem? If you know the exact behavior and can modify the points at will with catalogs, can't you just compensate for any points missing?
Not sure I understand. What exactly is the problem? If you know the exact behavior and can modify the points at will with catalogs, can't you just compensate for any points missing?
No. I was originally making it so each time you switched heroes it would set the level of the mutations and the total points you had spent, but it was not working right. After testing it and adding in debugging scripts I noticed that you cannot do this.
Learn abilities are hard-coded that each time you "learn" an ability from it, it has a hidden -X. X representing the number of things you've learned from it.
So lets say you switch to hero 2 and get a point for the mutation learn ability then you switch back to hero 1. The point will transfer but will not be there because you've learned 1 spell and X = -1. SO they subtract each other.
I thought there was a way to make the ability cost more or less attribute points... or was I wrong?
A way to work around this is to set the learn to have as many stat points as needed, and then make the actual learning of the ability cost gas or do it through triggers with integers and such. You can hid the number of attributes you have by not setting the submenu to the learn ability.
I've found and had zeldarules verify this that there is a problem with learn abilities manipulation of their points threw catalog triggers.
On the current map I'm making, I have lets say 9 heroes each with the same learn ability called "Mutations." How I have the map setup is that within this learn ability there is 7 mutations. The point total is saved into a bank and array value as well as the individual mutations themselves.
How I had it setup originally was the level of each mutation and the total points would xfer from each hero that you had. So they all shared this ability globally between each player.
The levels of each one you can transfer fine. You can even load the total as well upon MAP load only.
The learn ability has a hardcoded feature that subtracts -X for each time you've learned something from it.
What this means is you can set the total threw a catalog to let's say 5. Now it will take into account each time you've learned something from it and subtract X in it's place. So even though you set the total to 5, and let's say you've clicked to learn 2 things, it will set the total to 3.
So if your trying to share a learn ability between multiple heroes, be forewarned that it won't work. It's lame :(
Not sure I understand. What exactly is the problem? If you know the exact behavior and can modify the points at will with catalogs, can't you just compensate for any points missing?
No. I was originally making it so each time you switched heroes it would set the level of the mutations and the total points you had spent, but it was not working right. After testing it and adding in debugging scripts I noticed that you cannot do this.
Learn abilities are hard-coded that each time you "learn" an ability from it, it has a hidden -X. X representing the number of things you've learned from it.
So lets say you switch to hero 2 and get a point for the mutation learn ability then you switch back to hero 1. The point will transfer but will not be there because you've learned 1 spell and X = -1. SO they subtract each other.
It's stupid.
I thought there was a way to make the ability cost more or less attribute points... or was I wrong?
A way to work around this is to set the learn to have as many stat points as needed, and then make the actual learning of the ability cost gas or do it through triggers with integers and such. You can hid the number of attributes you have by not setting the submenu to the learn ability.
@Oparcus: Go
Ya what I ended up doing was just removed the learn ability altogether and made them cost gas and did it that way.