I used a script to add a party member but its not getting xp or able to use any items. Is there a common problem or should I add the member a different way?
Added party member is not getting xp and cannot use items
Débuté par
dracos9000
, nov. 29 2009 10:59
#1
Posté 29 novembre 2009 - 10:59
#2
Posté 29 novembre 2009 - 12:05
Yeah that happened to me too, but I *think* it's solved.
Modify this to your convenience:
#include "sys_autoscale_h"
int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
// Chargen_SelectRace(gilmore, RACE_HUMAN);
// Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
AS_InitCreature(gilmore,5,TRUE);
return TRUE;
}
Notes:
It says the initial level is 5, but this is only for me to test. I'll be using the autoscale later.
Race and Bg are commented out, I don't really need those, but left them there as a reminder for whatever.
Modify this to your convenience:
#include "sys_autoscale_h"
int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
// Chargen_SelectRace(gilmore, RACE_HUMAN);
// Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
AS_InitCreature(gilmore,5,TRUE);
return TRUE;
}
Notes:
It says the initial level is 5, but this is only for me to test. I'll be using the autoscale later.
Race and Bg are commented out, I don't really need those, but left them there as a reminder for whatever.
Modifié par DLAN_Immortality, 29 novembre 2009 - 12:07 .
#3
Posté 29 novembre 2009 - 07:25
So this would replace the core creature script?
#4
Posté 29 novembre 2009 - 07:25
double posted, sorry
Modifié par dracos9000, 29 novembre 2009 - 07:26 .
#5
Posté 29 novembre 2009 - 08:14
This is an action script from a dialog (when you tell him "join me" and he says "yes").
#6
Posté 29 novembre 2009 - 08:31
Ok I'll give it a try, thanks for the info.
#7
Posté 30 novembre 2009 - 02:01
That totally works. Thanks - I was having issues with this as well.
#8
Posté 30 novembre 2009 - 02:23
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
Im getting an error when using this line says undefined identifier. Any ideas?
Im getting an error when using this line says undefined identifier. Any ideas?
#9
Posté 30 novembre 2009 - 02:39
class needs to be capitalized so it reads (yourcharacter, class_WARRIOR);
#10
Posté 30 novembre 2009 - 02:39
weird..i had it capitalized and it lowercased on posting -- you need to capitalize the word "class"
#11
Posté 30 novembre 2009 - 02:46
I did that its still says same error.
#12
Posté 30 novembre 2009 - 02:46
can you give me a list of all your includes I might not have the one it needs.
#13
Posté 30 novembre 2009 - 02:49
#include "sys_autoscale_h"
int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
Chargen_SelectRace(gilmore, RACE_HUMAN);
Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
AS_InitCreature(gilmore,5,TRUE);
return TRUE;
}
int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
Chargen_SelectRace(gilmore, RACE_HUMAN);
Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
AS_InitCreature(gilmore,5,TRUE);
return TRUE;
}
#14
Posté 30 novembre 2009 - 02:50
not sure why but some words are being made lower case when i post - but capitalize class before warrior and capitalize the "c" for class on SelectCoreclass
#15
Posté 30 novembre 2009 - 02:51
nevermind it worked it was the c in core class.
Modifié par dracos9000, 30 novembre 2009 - 02:53 .
#16
Posté 30 novembre 2009 - 05:59
Well the leveling works but still items and skills do not show up or work.
#17
Posté 30 novembre 2009 - 09:54
Yeah, strange, for some reason it goes to lower case automatically :-/
Glad it was all solved in the end and yeah, sorry "gilmore" and "ser_gilmore" are my creature identifiers! replace with the name of your follower :-)
Glad it was all solved in the end and yeah, sorry "gilmore" and "ser_gilmore" are my creature identifiers! replace with the name of your follower :-)
#18
Posté 01 décembre 2009 - 12:02
My creature can use some items it can use poison or attack items but hp healing item or mana healing items do not work, and still no skills are showing up. Any idea why this is happening?
#19
Posté 02 décembre 2009 - 04:24
beutelmarkus wrote...
#include "sys_autoscale_h"
int StartingConditional()
{
object gilmore = GetObjectByTag("ser_gilmore");
SetFollowerState(gilmore, FOLLOWER_STATE_ACTIVE);
Chargen_InitializeCharacter(gilmore);
Chargen_SelectRace(gilmore, RACE_HUMAN);
Chargen_SelectBackground(gilmore, BACKGROUND_NOBLE);
Chargen_SelectCoreclass(gilmore, class_WARRIOR);
AS_InitCreature(gilmore,5,TRUE);
return TRUE;
}
excellnet!! i have been searching for this !!
although i've seen "SetCanLevelup" in wiki, i can't make sense how to deal with this...





Retour en haut







