T
the pirate
Guest
I want to get some items at the start of the game. I was told to do it in console.c:
Sea_ReloadStart();
LAi_SetCurHPMax(&captiveCharacter);
trace("sea active");
captiveCharacter.ship.type = "Tartane1";
Ship_CreateForCharacter(&captiveCharacter, 0, "Lifeboat") // ccc apr03
dumpattributes(captiveCharacter);
trace("ship created");
string sGName = "releasedprisoner";
ref rGroup = Group_GetGroupByIndex(Group_CreateGroup(sGName));
trace("group created");
float x,z,ay;
ref pch = GetMainCharacter()
Under this? I wrote GiveItem2Character(pchar,"blade25");
It isn't working. PLEASE HELP
Sea_ReloadStart();
LAi_SetCurHPMax(&captiveCharacter);
trace("sea active");
captiveCharacter.ship.type = "Tartane1";
Ship_CreateForCharacter(&captiveCharacter, 0, "Lifeboat") // ccc apr03
dumpattributes(captiveCharacter);
trace("ship created");
string sGName = "releasedprisoner";
ref rGroup = Group_GetGroupByIndex(Group_CreateGroup(sGName));
trace("group created");
float x,z,ay;
ref pch = GetMainCharacter()
Under this? I wrote GiveItem2Character(pchar,"blade25");
It isn't working. PLEASE HELP