Aller au contenu

Photo

Leveling up Henchmen


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Firestar001

Firestar001
  • Members
  • 1 messages
I've just gotten the Platinum edition of NWN2 and I've got a module to give xp to the henchmen upon hiring.

The problem is that whenever I click 'level up' on a henchmen, they don't display any class to level up in.  The class list is blank.

Any existing or new scripts I can use?

#2
Khaevil X

Khaevil X
  • Members
  • 5 messages
Sounds like a problem with the content. Likely it's a henchmen set to only be able to level in one class, and it doesn't meet the requirements for that class.

If all you are trying to do is give xp to your party you don't need a module or a script to do it.

select the character you want to give xp to
press `
type debugmode 1
type givexp <amount>
type debugmode 0
press `

Unless the source of the conflict is your henchmen leveling module this isn't going to solve your problem. I suspect you've probably got a whole bunch of custom content for all sorts of varied things and something is conflicting.

If you really want a script to get around this issue then yes, there is a script command that may work, I'm not sure if it ignores class restrictions but since it ignores xp requirements I wouldn't doubt it.

write a script that contains this, compile it and put it in your override directory:

void main()
{
LevelUpHenchmen(GetPlayerCurrentTarget(OBJECT_SELF));
}

then in game target the henchmen, open the command console (`), and type rs <scriptname>() and it'll run this script on your target.