How can I remove perk/s from my officers/companions using DEV mode (debuger.c)?
I tried to type this code => ch.perks.list.Ciras = "-1";
or
ch.perks.list.Ciras = "0";
or
ch.perks.list.Ciras = -1;
and it does not work...
This is what my code looks like below VVV
string descF20 = "remove perks";
void CalculateInfoDataF20()
{
totalInfo = descF20;
// -->
if (sti(pchar.Fellows.Passengers.navigator) != -1)
{
ref ch=getcharacter(sti(pchar.fellows.passengers.navigator));
ch.perks.list.Ciras = "-1";
}
else
{
totalInfo = "No officer";
}
// <--
totalInfo = totalInfo + NewStr() + NewStr() +
"The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
Does anyone know how to remove perk/s? Please help... Thank you...
Aye! sir...
I tried to type this code => ch.perks.list.Ciras = "-1";
or
ch.perks.list.Ciras = "0";
or
ch.perks.list.Ciras = -1;
and it does not work...
This is what my code looks like below VVV
string descF20 = "remove perks";
void CalculateInfoDataF20()
{
totalInfo = descF20;
// -->
if (sti(pchar.Fellows.Passengers.navigator) != -1)
{
ref ch=getcharacter(sti(pchar.fellows.passengers.navigator));
ch.perks.list.Ciras = "-1";
}
else
{
totalInfo = "No officer";
}
// <--
totalInfo = totalInfo + NewStr() + NewStr() +
"The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
Does anyone know how to remove perk/s? Please help... Thank you...
Aye! sir...