This is what I've tried to use:
Code: Select all
int nPsionLvl = GetLevelByClass(CLASS_TYPE_PSIONICIST, oPC);
EDIT: Fuzz has told me that the psionicist class is entry #200 in the copap .tlk file. If that helps in any way...

Moderator: Event DM
Code: Select all
int nPsionLvl = GetLevelByClass(CLASS_TYPE_PSIONICIST, oPC);
Code: Select all
void main()
{
object oPC = GetPCSpeaker();
int nCount = 1;
int nPsionCheck = GetClassByPosition(nCount, oPC);
while (nCount < 4)
{
if (nPsionCheck = 60)
{
//do some secret gnome stuff
}
else {return;}
nCount++;
}
}
Orleron wrote:You have to excuse Themi. Tact, diplomacy, and softness are not his best traits, but he does not mean anything by his writing. He's a nice guy. You just get used to it after a while because he doesn't seem to learn.
I'll get it to you this evening when I get home.Deider wrote:Thanks guys!!
EDIT: Hey doug, could you upload the current version? The one I found was from August of 2003. Or just mail it to me at deider@avlis.org. Thanks!