Thanks for the help!
'>
It's working now, and the advice to check if it was actually in the Actions Taken tab made me realize that, while the script was correctly in the Text Appears tab, an older version of the script (which I already knew to be non-working) was selected rather than the version I posted here.
Also, I didn't know I could use OBJECT_SELF to reference the speaking NPC, and now I was able to improve the script so that I don't need one specifically for each amount of Cleric levels a NPC has.
This is the latest (and functional) script:
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nPCClericLevel = GetLevelByclass(class_TYPE_CLERIC, oPC);
int nNPCClericLevel = GetLevelByclass(class_TYPE_CLERIC, OBJECT_SELF);
if (nNPCClericLevel > nPCClericLevel)
{
return TRUE;
}
return FALSE;
}
Modifié par Androrc, 18 août 2011 - 09:06 .