Hi, I'm bit confused with this myself, i know a little about programming but i'm probably just not spotting the obvious.
In the error.log its saying the variable Character (line 22) is repeated, it is in the first function, but this is what the tutorial said to do if your not using a post build version.
BTW where might i find a post build version? might be helpful to save on coding time, thanks. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

" border="0" alt="smile.gif" />
Catalina, i think what is meant by not referencing the slot directly, is its an array slot, you just need to act on the id thats placed in it at the time, not a fixed location in the array. I believe in this context it means you can have varying character id's placed into the array when it is loaded.
Below is a sample of the code i'm entering, its just changing the second instances of character to something else that i need to do i think. Character being the defining variable name for that specific character at the time. I'll investigate a bit tomorrow.
void InitMARKEXTRAENCOUNTERS()
ref GetNewCharacter(string Fullname)
{
int i;
ref Character;
for(i=0; i<TOTAL_CHARACTERS; i++)
{
makeref(Character,Characters
);
if(Character.fullname == Fullname || Character.id == "0")
{
break;
}
}
return Character;
}
{
ref Character = GetNewCharacter("Bartholomew Roberts");
character.name = "Bartholomew";
character.lastname = "Roberts";
character.id = "Bartholomew Roberts";
character.model = "blaze";
character.sex = "man";
character.sound_type = "seaman";
character.location = "Oxbay_port";
character.location.group = "goto";
character.location.locator = "goto1";
character.Dialog.Filename = "Oxbay citizen_dialog.c";
character.greeting = "Gr_Oxbay Citizen";
character.quest.area = "Oxbay";
character.nation = ENGLAND;
facemaker(character);
LAi_SetCitizenType(character);
LAi_group_Movecharacter(character, "ENGLAND_CITIZENS");
}
Thx for any help.