Aller au contenu

Photo

Skill selection not appearing.


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
leftEdge

leftEdge
  • Members
  • 28 messages
 Hi guys,
I'm working on mini-quest, and I'm having a problem adding a character to the party. I've attached a script to be run on the final line in the conversation, and it works for the most part, the only problem is that when I go to level up the new party addition, the skills page is blank. The rest of it is ok, but I can't add combat talents because you need the right skill, which you can't select. Here is the simple script I'm using:

#include "sys_autoscale_h"  
#include "sys_rewards_h"
int StartingConditional()
{    
 object oTerry = GetObjectByTag("terry ");      
 Chargen_InitializeCharacter(oTerry );  
 SetFollowerState(oTerry , FOLLOWER_STATE_ACTIVE);
 RewardXP(oTerry , RW_GetXPNeededForLevel(10), FALSE, FALSE);
 return TRUE;
}

Does anybody know how I broke selecting of skills?

#2
GameVoid

GameVoid
  • Members
  • 10 messages
Have you defined what class Terry is anywhere? The game would have to know if he is a Rogue, Magi, Warrior before it would know what skills to present.


#3
leftEdge

leftEdge
  • Members
  • 28 messages
Thanks for the reply. I added the following line just beneath InitializeCharacter:

Chargen_SelectCoreclass(oTerry, class_ROGUE);

But it still hasn't worked, did I do it right?

*edit*
For some reason the forum lowercased class, and I can't seem to change it. it should read class_rogue all uppercase.

Modifié par leftEdge, 22 décembre 2009 - 09:19 .


#4
leftEdge

leftEdge
  • Members
  • 28 messages
Sorted. It turns out I had to set background, gender and everything. I assumed it would take most params from the creature's utc file, but obviously not.