I have had no problem leveling up creatures that have feats and stats that are not given by the LevelUpHenchman().
The limitation is that the LevelUpHenchman function only works right in two cases:
1) The creature is level 1
2) Any levels above level 1 were leveled up using the function LevelUpHenchman
I believe you can do whatever you want with them so long as you leave them at level 1. You need to use the LevelUpHenchman function in order to level them up. So you must design a level 1 creature any way you want, but you can't level it up in the toolset. Leveling has to be done by a script. I've used this in a module, but not a multiplayer world.
So the method is:
Design a level 1 creature any way you want.
Make a trigger near the creature or that creates the creature and it should levele up the creature.
Say your creature was a Tiefling that starts as an Outsider and you want it to be PC level plus 2. An example OnEnter trigger script that creates the creature and levels up your creature with a Rogue class would be:
void main()
{
object pc = GetEnteringObject();
if( GetIsPC( pc ) )
{
int hd = GetHitDice(pc);
object wp = GetWaypointByTag("wpTag");
location loc = GetLocation(wp);
object myMonster =
CreateObject(OBJECT_TYPE_CREATURE, "monsterSref", loc );
int i;
for( i=0; i<hd+1; i++ )
{
LevelUpHenchman( myMonster, class_TYPE_ROGUE );
}
}
}
Modifié par Mudeye, 11 octobre 2010 - 03:45 .