I want the player to be able to gain a specialization unlock, a point invested in said specialization, and an ability within that specialization tree via scripting. I have looked it up but haven't been able to find a way to actually do this.
I've tried this but it doesn't work:
RW_UnlockSpecializationTrainer(SPC_BLOOD_MAGE);
AddAbility(oPC, 10700, TRUE);
The main campaign simply uses the first line but leaves it up to the player to spend the specialization points themselves. Maybe that's where the problem lies?
EDIT: And of course, I solve it shortly after posting. For reference: there are additional abilities in ABI_base referring to the actual specialization ability (which is NOT unlocked by calling RW_UnlockSpecializationTrainer), called HIDDEN_(spec). You need to add these as well for the specialization and its abilities to be available to the player.
Modifié par sea-, 03 janvier 2013 - 01:42 .





Retour en haut






