I've edited the skills.2da, tlk and cls_skills to include a bunch of new skills for use in my game. They show correctly in the character sheet, however when I go to use them in checks they do not appear to work. The two scripts I am using with them are a custom_skills include, which lists the skills and assigns them numbers, and one for checking the skill (getskillrank >10 =true, for example).
Here is an example of my scripts:
custom_skills:
const int SKILL_SENSE_MOTIVE=28;
const int SKILL_DISGUISE=29;
check:
#include "custom_skills"
int StartingConditional()
{
int nSkill = GetSkillRank(SKILL_SENSE_MOTIVE,GetPCSpeaker());
if (nSkill > 10)
return TRUE;
return FALSE;
}
The check does not work for the new skill. What is wrong here?
Thanks!
Modifié par Ellychid32, 19 mars 2013 - 05:47 .